just-ai / aimybox-android-assistant

Embeddable custom voice assistant for Android applications
https://aimybox.com
Apache License 2.0
226 stars 52 forks source link

Can't build demo app to android phone #72

Open daniyalmohammed opened 1 year ago

daniyalmohammed commented 1 year ago

Followed building demo app to phone on Samsung Galaxy S10E and was unable to get it to run. The following is the error message:

The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED

List of apks: [0] '/Users/daniyalmohammed/AndroidStudioProjects/aimybox-android-assistant/app/build/intermediates/apk/debug/app-debug.apk' Installation failed due to: 'Failed to commit install session 472356883 with command package install-commit 472356883. Error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl472356883.tmp/base.apk (at Binary XML file line #63): leakcanary.internal.activity.LeakLauncherActivity: Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present' Retry Failed to launch an application on all devices

violeta-maldonado commented 1 year ago

The same error occurred to me. I solved it by changing the version of the leakcanary library to 2.9.1 image