HBiSoft / HBRecorder

Lightweight screen recording Android library
MIT License
402 stars 137 forks source link

Demo app not working on Android 12 #124

Closed DiegoJRAleixandre closed 2 years ago

DiegoJRAleixandre commented 2 years ago

Describe the bug Demo app not working on Android 12

Log When downloading the .apk I cannot install it. When using abd to try and install it I get the following error:

adb: failed to install HBRecorderDemo.apk: Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl274285536.tmp/base.apk (at Binary XML file line #27): com.hbisoft.hbrecorderexample.MainActivity: Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present]

Doing a quick search as I know not much about android development I see that people suggest to write the following in the AndroidManifest.xml:

<activity android:exported="true" < /activity >

HBRecorder version for example 2.0.5

Device information

HBiSoft commented 2 years ago

Thanks for letting me know. I will fix this in the next update.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had activity in the last 7 days. It will be closed if no further activity occurs within the next 3 days. Thank you for your contributions.