Unity Android Unityのヴァージョンをあげたときの?

--------- beginning of crash
11-24 23:33:00.792 26021 26021 E AndroidRuntime: FATAL EXCEPTION: main
11-24 23:33:00.792 26021 26021 E AndroidRuntime: Process: com.groundroad.zoostepper, PID: 26021
11-24 23:33:00.792 26021 26021 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.groundroad.zoostepper/com.unity3d.player.UnityPlayerNativeActivity}: java.lang.ClassNotFoundException: Didn't find class "com.unity3d.player.UnityPlayerNativeActivity" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.groundroad.zoostepper-USaQ7pwQbrCeUwAi_ily2w==/base.apk"],nativeLibraryDirectories=[/data/app/com.groundroad.zoostepper-USaQ7pwQbrCeUwAi_ily2w==/lib/arm64, /data/app/com.groundroad.zoostepper-USaQ7pwQbrCeUwAi_ily2w==/base.apk!/lib/arm64-v8a, /system/lib64]]
11-24 23:33:00.792 26021 26021 E AndroidRuntime:    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2874)
11-24 23:33:00.792 26021 26021 E AndroidRuntime:    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3079)
11-24 23:33:00.792 26021 26021 E AndroidRuntime:    at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
11-24 23:33:00.792 26021 26021 E AndroidRuntime:    at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
11-24 23:33:00.792 26021 26021 E AndroidRuntime:    at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
11-24 23:33:00.792 26021 26021 E AndroidRuntime:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1836)
11-24 23:33:00.792 26021 26021 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:106)
11-24 23:33:00.792 26021 26021 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:193)
11-24 23:33:00.792 26021 26021 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:6703)
11-24 23:33:00.792 26021 26021 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
11-24 23:33:00.792 26021 26021 E AndroidRuntime:    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
11-24 23:33:00.792 26021 26021 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)
11-24 23:33:00.792 26021 26021 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.unity3d.player.UnityPlayerNativeActivity" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.groundroad.zoostepper-USaQ7pwQbrCeUwAi_ily2w==/base.apk"],nativeLibraryDirectories=[/data/app/com.groundroad.zoostepper-USaQ7pwQbrCeUwAi_ily2w==/lib/arm64, /data/app/com.groundroad.zoostepper-USaQ7pwQbrCeUwAi_ily2w==/base.apk!/lib/arm64-v8a, /system/lib64]]
11-24 23:33:00.792 26021 26021 E AndroidRuntime:    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
11-24 23:33:00.792 26021 26021 E AndroidRuntime:    at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
11-24 23:33:00.792 26021 26021 E AndroidRuntime:    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
11-24 23:33:00.792 26021 26021 E AndroidRuntime:    at android.app.AppComponentFactory.instantiateActivity(AppComponentFactory.java:69)
11-24 23:33:00.792 26021 26021 E AndroidRuntime:    at androidx.core.app.CoreComponentFactory.instantiateActivity(CoreComponentFactory.java:45)
11-24 23:33:00.792 26021 26021 E AndroidRuntime:    at android.app.Instrumentation.newActivity(Instrumentation.java:1215)
11-24 23:33:00.792 26021 26021 E AndroidRuntime:    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2862)
11-24 23:33:00.792 26021 26021 E AndroidRuntime:    ... 11 more
11-24 23:33:00.805  1909  2825 W ActivityManager:   Force finishing activity com.groundroad.zoostepper/com.unity3d.player.UnityPlayerNativeActivity
11

UnityPlayerNativeActivity が旧ヴァージョンのようで無いと言われます。

何年かぶりの更新なので・・・

    <activity android:name="com.unity3d.player.UnityPlayerNativeActivity" android:label="@string/app_name">

を
 
<activity android:name="com.unity3d.player.UnityPlayerActivity" android:label="@string/app_name">

に変更してみました。

// debuggable

次のエラーは。

You uploaded a debuggable APK or Android App Bundle. For security reasons you need to disable debugging before it can be published in Google Play.nullLearn more about debuggable APKs or Android App Bundlesnull.

AndroidManifestのdebuggable = falseに変更してみました。

nulllerarn bundlesnullってなんだろ・・・

とりあえず Google Play consoleにアップロード成功しました。

コメントを残す

メールアドレスが公開されることはありません。

お気軽にコメントいただけると嬉しいです!
質問や気になる商品・サービスなどについてなんでも!
名前はハンドルネーム、emailも仮で適当な文字を入力いただければ問題ありません。