Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App Keeps Crashing When Connecting #15

Open
AadityaRathod97 opened this issue Apr 14, 2021 · 0 comments
Open

App Keeps Crashing When Connecting #15

AadityaRathod97 opened this issue Apr 14, 2021 · 0 comments

Comments

@AadityaRathod97
Copy link

so i am trying to connect to a tablet, i hope that works
i know this code is for microcontrollers

but whenever i try to connect the app keeps crashing and gives me this error

E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.ahmedabdelmeged.bluetoothmcsample, PID: 5505
java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter aVoid
at com.ahmedabdelmeged.bluetoothmc.BluetoothMC$ConnectBT.onPostExecute(BluetoothMC.kt)
at com.ahmedabdelmeged.bluetoothmc.BluetoothMC$ConnectBT.onPostExecute(BluetoothMC.kt:155)
at android.os.AsyncTask.finish(AsyncTask.java:662)
at android.os.AsyncTask.-wrap1(AsyncTask.java)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:679)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5468)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:671)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant