bluetoothledemo's People
bluetoothledemo's Issues
Scan callback does not get any available devices.
I tried to build the project to scan the available devices. However, it cannot detect any devices while executing the scan callback successfully. I laid out several devices to test the scan function but it could not any of these devices. And the error message is as follows:
2020-07-06 22:53:03.824 10051-10051/? E/Zygote: isWhitelistProcess - Process is Whitelisted
2020-07-06 22:53:03.825 10051-10051/? E/libpersona: scanKnoxPersonas
2020-07-06 22:53:03.825 10051-10051/? E/libpersona: Couldn't open the File - /data/system/users/0/personalist.xml - No such file or directory
2020-07-06 22:53:15.274 10051-10051/com.example.bluetoothledemo D/ViewRootImpl@df598f8[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0
2020-07-06 22:53:15.285 10051-10051/com.example.bluetoothledemo D/ViewRootImpl@4d3cece[DeviceListActivity]: dispatchAttachedToWindow
2020-07-06 22:53:15.292 10051-10051/com.example.bluetoothledemo I/zygote64: Rejecting re-init on previously-failed class java.lang.Class<androidx.core.view.ViewCompat$OnUnhandledKeyEventListenerWrapper>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/View$OnUnhandledKeyEventListener;
2020-07-06 22:53:15.292 10051-10051/com.example.bluetoothledemo I/zygote64: at int androidx.core.view.ViewCompat.getLayoutDirection(android.view.View) (ViewCompat.java:1297)
2020-07-06 22:53:15.292 10051-10051/com.example.bluetoothledemo I/zygote64: at boolean androidx.appcompat.widget.ViewUtils.isLayoutRtl(android.view.View) (ViewUtils.java:58)
2020-07-06 22:53:15.292 10051-10051/com.example.bluetoothledemo I/zygote64: at void androidx.appcompat.widget.Toolbar.onMeasure(int, int) (Toolbar.java:1578)
2020-07-06 22:53:15.292 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.view.View.measure(int, int) (View.java:23300)
2020-07-06 22:53:15.292 10051-10051/com.example.bluetoothledemo I/zygote64: at void androidx.constraintlayout.widget.ConstraintLayout.internalMeasureChildren(int, int) (ConstraintLayout.java:1227)
2020-07-06 22:53:15.292 10051-10051/com.example.bluetoothledemo I/zygote64: at void androidx.constraintlayout.widget.ConstraintLayout.onMeasure(int, int) (ConstraintLayout.java:1572)
2020-07-06 22:53:15.292 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.view.View.measure(int, int) (View.java:23300)
2020-07-06 22:53:15.292 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.view.ViewGroup.measureChildWithMargins(android.view.View, int, int, int, int) (ViewGroup.java:6928)
2020-07-06 22:53:15.292 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.widget.FrameLayout.onMeasure(int, int) (FrameLayout.java:185)
2020-07-06 22:53:15.292 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.view.View.measure(int, int) (View.java:23300)
2020-07-06 22:53:15.292 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.view.ViewGroup.measureChildWithMargins(android.view.View, int, int, int, int) (ViewGroup.java:6928)
2020-07-06 22:53:15.292 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.widget.LinearLayout.measureChildBeforeLayout(android.view.View, int, int, int, int, int) (LinearLayout.java:1514)
2020-07-06 22:53:15.292 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.widget.LinearLayout.measureVertical(int, int) (LinearLayout.java:806)
2020-07-06 22:53:15.292 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.widget.LinearLayout.onMeasure(int, int) (LinearLayout.java:685)
2020-07-06 22:53:15.292 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.view.View.measure(int, int) (View.java:23300)
2020-07-06 22:53:15.292 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.view.ViewGroup.measureChildWithMargins(android.view.View, int, int, int, int) (ViewGroup.java:6928)
2020-07-06 22:53:15.292 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.widget.FrameLayout.onMeasure(int, int) (FrameLayout.java:185)
2020-07-06 22:53:15.292 10051-10051/com.example.bluetoothledemo I/zygote64: at void com.android.internal.policy.DecorView.onMeasure(int, int) (DecorView.java:899)
2020-07-06 22:53:15.293 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.view.View.measure(int, int) (View.java:23300)
2020-07-06 22:53:15.293 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.view.ViewRootImpl.performMeasure(int, int) (ViewRootImpl.java:2886)
2020-07-06 22:53:15.293 10051-10051/com.example.bluetoothledemo I/zygote64: at boolean android.view.ViewRootImpl.measureHierarchy(android.view.View, android.view.WindowManager$LayoutParams, android.content.res.Resources, int, int) (ViewRootImpl.java:1916)
2020-07-06 22:53:15.293 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.view.ViewRootImpl.performTraversals() (ViewRootImpl.java:2171)
2020-07-06 22:53:15.293 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.view.ViewRootImpl.doTraversal() (ViewRootImpl.java:1785)
2020-07-06 22:53:15.293 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.view.ViewRootImpl$TraversalRunnable.run() (ViewRootImpl.java:7832)
2020-07-06 22:53:15.293 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.view.Choreographer$CallbackRecord.run(long) (Choreographer.java:911)
2020-07-06 22:53:15.293 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.view.Choreographer.doCallbacks(int, long) (Choreographer.java:723)
2020-07-06 22:53:15.293 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.view.Choreographer.doFrame(long, int) (Choreographer.java:658)
2020-07-06 22:53:15.293 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.view.Choreographer$FrameDisplayEventReceiver.run() (Choreographer.java:897)
2020-07-06 22:53:15.293 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:789)
2020-07-06 22:53:15.293 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:98)
2020-07-06 22:53:15.293 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.os.Looper.loop() (Looper.java:164)
2020-07-06 22:53:15.293 10051-10051/com.example.bluetoothledemo I/zygote64: at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6944)
2020-07-06 22:53:15.293 10051-10051/com.example.bluetoothledemo I/zygote64: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2020-07-06 22:53:15.293 10051-10051/com.example.bluetoothledemo I/zygote64: at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:327)
2020-07-06 22:53:15.293 10051-10051/com.example.bluetoothledemo I/zygote64: at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:1374)
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.