Comments (3)
Hi @Calou07 ,
Can you check if all the permissions already complied? Starting for Android 6.0, you need to allow access for location services and enabled it. Also you need to turn on bluetooth for scanning.
Maybe you can post the error that happen here.
Thanks
from flutter_beacon.
Hello @alann-maulana , thank you for your response.
The location and the bluetooth are activated and allowed.
The problem is that when I comment the line i said on the previous post, i can dubug it on my phone. When i uncomment it, the app crashes.
The last lines I have on the debug console are :
#37 pc 00000000002792c0 /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+968)
#38 pc 0000000000524f94 /system/lib64/libart.so (MterpInvokeVirtual+588)
#39 pc 0000000000547894 /system/lib64/libart.so (ExecuteMterpImpl+14228)
#40 pc 0000000000c47e16 /system/framework/boot-framework.vdex (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+22)
#41 pc 0000000000252fc4 /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.99565114+488)
#42 pc 0000000000515828 /system/lib64/libart.so (artQuickToInterpreterBridge+1020)
#43 pc 000000000055e2fc /system/lib64/libart.so (art_quick_to_interpreter_bridge+92)
#44 pc 0000000000c0be40 /system/framework/arm64/boot-framework.oat (offset 0x3d7000) (com.android.internal.os.ZygoteInit.main+3088)
#45 pc 000000000055544c /system/lib64/libart.so (art_quick_invoke_static_stub+604)
#46 pc 00000000000cf6e8 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+232)
#47 pc 000000000045cc50 /system/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
#48 pc 000000000045c8b0 /system/lib64/libart.so (art::InvokeWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+424)
#49 pc 0000000000361b64 /system/lib64/libart.so (art::JNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+652)
#50 pc 00000000000b3d1c /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+120)
#51 pc 00000000000b6764 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+952)
#52 pc 00000000000022f8 /system/bin/app_process64 (main+1380)
#53 pc 00000000000acdac /system/lib64/libc.so (__libc_init+88)
Lost connection to device.
Exited (sigterm)
from flutter_beacon.
I tried with older versions and 0.1.1. works fine on my phone.
Newer versions do not work for me.
Thank you for your help, and I hope I also helped you by showing my problem.
from flutter_beacon.
Related Issues (20)
- Is it possible to find out the battery of the device ?
- [PROBLEM] Scanning when app is killed
- Scanner does not start with Wi-Fi turned off
- Please tell me about the major and minor that I can get when monitoring. HOT 1
- Error : java.lang.IllegalArgumentException: Unable to parse Identifier.
- ios beacon scan not working [CoreBluetooth] XPC connection invalid
- Updates HOT 2
- Crashes on Samsung Devices HOT 1
- Does flutter_beacon on iphone is able to scan for broadcasting android devices? HOT 2
- Beacon Scanning not working when app is in background or terminated HOT 2
- Broadcast is not working
- Unable to range and broadcast on Samsung Android 12 HOT 6
- failed to open Stream : RECEIVE_BOOT_COMPLETED PERMISSION HOT 1
- wonder if it is possible to launch my app when in ranged.
- ranging beacons doesn't work properly with more than 11 regions in list HOT 1
- Scanning and Boradcasting
- android-distance.json database not found HOT 2
- After few minutes the app does not find any beacon. HOT 1
- No Beacons Detected. Android HOT 1
- Error in Namespace HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_beacon.