thanh-nguyen-kim/Unity_Android_Screen_Recorder

App Crash on Android 10

DeveloperAugustus opened this issue · 5 comments

Hello,
application is properly build from Unity,but when i open app in my phone(Oneplus 6(Android 10))it crashes.
Please let me know if there is a fix for this issue.
Thank You.

Can you show me the manifest in Plugin/Android.
You may need to replace ".AndroidUtils" with "com.setik.androidutils.AndroidUtils"
Hope this will fix your problem.

AndroidManifest.txt

Here is my AndroidManifest File,I changed it, still crashing

<?xml version="1.0" encoding="utf-8"?>
<manifest 
  xmlns:android="http://schemas.android.com/apk/res/android" package="com.setik.androidutils">
  <application android:icon="@drawable/app_icon" android:label="@string/app_name">
    <activity android:name="com.setik.androidutils.AndroidUtils" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
      <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
      </intent-filter>
    </activity>
    <meta-data android:name="unityplayer.SkipPermissionsDialog" android:value="true" />
  </application>
</manifest>

Try this manifest. if it is still crashing, could you open "logcat" and show me the log message

Thank You so much brother,It is working perfectly.