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 crash on android #7

Open
bdndreams opened this issue Sep 4, 2018 · 5 comments
Open

App crash on android #7

bdndreams opened this issue Sep 4, 2018 · 5 comments

Comments

@bdndreams
Copy link

09-04 15:57:17.068 13247-13709/ai.snips.snipsdemo E/JavaBinder: !!! FAILED BINDER TRANSACTION !!! (parcel size = 2208)
09-04 15:57:17.108 13247-13709/ai.snips.snipsdemo E/SnipsPlatform: Could not send message to Snips platform: Transaction failed on small parcel; remote process probably died
android.os.DeadObjectException: Transaction failed on small parcel; remote process probably died
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:503)
at android.os.IMessenger$Stub$Proxy.send(IMessenger.java:89)
at android.os.Messenger.send(Messenger.java:57)
at ai.snips.platform.SnipsPlatformClient$RemoteServiceImpl.send(SnipsPlatformClient.kt:242)
at ai.snips.platform.SnipsPlatformClient.sendAudioBuffer(SnipsPlatformClient.kt:531)
at ai.snips.snipsdemo.MainActivity.runStreaming(MainActivity.java:288)
at ai.snips.snipsdemo.MainActivity.access$300(MainActivity.java:43)
at ai.snips.snipsdemo.MainActivity$11.run(MainActivity.java:271)
09-04 15:57:17.113 13247-13247/ai.snips.snipsdemo E/SnipsPlatform: Snips processing service disconnected, attempting a reconnect
09-04 15:57:21.318 13247-13247/ai.snips.snipsdemo E/SnipsPlatform: Snips processing service disconnected, attempting a reconnect

@thanksmister
Copy link

I think this occurs because you have the a missing assistant or the assistant you moved to the device is in the wrong location.

Did you upload your unzipped assistant files to the correct device location and proper directory name?

@bdndreams
Copy link
Author

Files are on proper location, i have also check on debug mode, files are loaded properly.

@thanksmister
Copy link

thanksmister commented Sep 4, 2018

Make sure you check out the latest version, there was a version change 7 days ago to 0.58.3. If you don't have that version of Snips, newly downloaded assistants won't work. Also make sure you are not using Instant Run feature of the Android IDE.

@thanksmister
Copy link

Just to be sure you could also trace out the location of your external storage on the device to be sure it matches the assistant directory. Log.d("ManActivity", Environment.getExternalStorageDirectory().toString());

@thanksmister
Copy link

This is duplicate of snipsco/snips-issues#22.

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

2 participants