[MDK 5.9.0] An error occurred when executing the MSDK 5.9.0 sample source.
Completedcom.secneo.sdk.Helper.install(this)
initArtSdk(CTX) in version 5.9.0; A new code has been added, but a problem occurs.
Mobile model: Galaxy Tab S6
Android version: 12
-------------------------------------------------------------------------------------------------------------------
2024-06-11 09:08:00.499 18835-18835 System.err com.dji.sampleV5.aircraft W android.content.pm.PackageManager$NameNotFoundException: com.google.android.art
2024-06-11 09:08:00.499 18835-18835 System.err com.dji.sampleV5.aircraft W at android.app.ApplicationPackageManager.getPackageInfoAsUser(ApplicationPackageManager.java:293)
2024-06-11 09:08:00.499 18835-18835 System.err com.dji.sampleV5.aircraft W at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:265)
2024-06-11 09:08:00.499 18835-18835 System.err com.dji.sampleV5.aircraft W at com.secneo.sdk.Helper.initArtSdk(Helper.java:59)
2024-06-11 09:08:00.499 18835-18835 System.err com.dji.sampleV5.aircraft W at com.secneo.sdk.Helper.install(Helper.java:46)
2024-06-11 09:08:00.499 18835-18835 System.err com.dji.sampleV5.aircraft W at dji.sampleV5.aircraft.DJIAircraftApplication.attachBaseContext(DJIAircraftApplication.kt:18)
2024-06-11 09:08:00.499 18835-18835 System.err com.dji.sampleV5.aircraft W at android.app.Application.attach(Application.java:357)
2024-06-11 09:08:00.499 18835-18835 System.err com.dji.sampleV5.aircraft W at android.app.Instrumentation.newApplication(Instrumentation.java:1196)
2024-06-11 09:08:00.499 18835-18835 System.err com.dji.sampleV5.aircraft W at android.app.LoadedApk.makeApplication(LoadedApk.java:1457)
2024-06-11 09:08:00.499 18835-18835 System.err com.dji.sampleV5.aircraft W at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7650)
2024-06-11 09:08:00.499 18835-18835 System.err com.dji.sampleV5.aircraft W at android.app.ActivityThread.access$1800(ActivityThread.java:324)
2024-06-11 09:08:00.499 18835-18835 System.err com.dji.sampleV5.aircraft W at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2336)
2024-06-11 09:08:00.499 18835-18835 System.err com.dji.sampleV5.aircraft W at android.os.Handler.dispatchMessage(Handler.java:106)
2024-06-11 09:08:00.500 18835-18835 System.err com.dji.sampleV5.aircraft W at android.os.Looper.loopOnce(Looper.java:226)
2024-06-11 09:08:00.500 18835-18835 System.err com.dji.sampleV5.aircraft W at android.os.Looper.loop(Looper.java:313)
2024-06-11 09:08:00.500 18835-18835 System.err com.dji.sampleV5.aircraft W at android.app.ActivityThread.main(ActivityThread.java:8855)
2024-06-11 09:08:00.500 18835-18835 System.err com.dji.sampleV5.aircraft W at java.lang.reflect.Method.invoke(Native Method)
2024-06-11 09:08:00.500 18835-18835 System.err com.dji.sampleV5.aircraft W at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
2024-06-11 09:08:00.500 18835-18835 System.err com.dji.sampleV5.aircraft W at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
2024-06-11 09:08:00.500 18835-18835 System.err com.dji.sampleV5.aircraft W android.content.pm.PackageManager$NameNotFoundException: com.android.art
2024-06-11 09:08:00.500 18835-18835 System.err com.dji.sampleV5.aircraft W at android.app.ApplicationPackageManager.getPackageInfoAsUser(ApplicationPackageManager.java:293)
2024-06-11 09:08:00.500 18835-18835 System.err com.dji.sampleV5.aircraft W at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:265)
2024-06-11 09:08:00.500 18835-18835 System.err com.dji.sampleV5.aircraft W at com.secneo.sdk.Helper.initArtSdk(Helper.java:66)
2024-06-11 09:08:00.500 18835-18835 System.err com.dji.sampleV5.aircraft W at com.secneo.sdk.Helper.install(Helper.java:46)
2024-06-11 09:08:00.500 18835-18835 System.err com.dji.sampleV5.aircraft W at dji.sampleV5.aircraft.DJIAircraftApplication.attachBaseContext(DJIAircraftApplication.kt:18)
2024-06-11 09:08:00.500 18835-18835 System.err com.dji.sampleV5.aircraft W at android.app.Application.attach(Application.java:357)
2024-06-11 09:08:00.500 18835-18835 System.err com.dji.sampleV5.aircraft W at android.app.Instrumentation.newApplication(Instrumentation.java:1196)
2024-06-11 09:08:00.500 18835-18835 System.err com.dji.sampleV5.aircraft W at android.app.LoadedApk.makeApplication(LoadedApk.java:1457)
2024-06-11 09:08:00.500 18835-18835 System.err com.dji.sampleV5.aircraft W at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7650)
2024-06-11 09:08:00.500 18835-18835 System.err com.dji.sampleV5.aircraft W at android.app.ActivityThread.access$1800(ActivityThread.java:324)
2024-06-11 09:08:00.500 18835-18835 System.err com.dji.sampleV5.aircraft W at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2336)
2024-06-11 09:08:00.501 18835-18835 System.err com.dji.sampleV5.aircraft W at android.os.Handler.dispatchMessage(Handler.java:106)
2024-06-11 09:08:00.501 18835-18835 System.err com.dji.sampleV5.aircraft W at android.os.Looper.loopOnce(Looper.java:226)
2024-06-11 09:08:00.501 18835-18835 System.err com.dji.sampleV5.aircraft W at android.os.Looper.loop(Looper.java:313)
2024-06-11 09:08:00.501 18835-18835 System.err com.dji.sampleV5.aircraft W at android.app.ActivityThread.main(ActivityThread.java:8855)
2024-06-11 09:08:00.501 18835-18835 System.err com.dji.sampleV5.aircraft W at java.lang.reflect.Method.invoke(Native Method)
2024-06-11 09:08:00.501 18835-18835 System.err com.dji.sampleV5.aircraft W at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
2024-06-11 09:08:00.501 18835-18835 System.err com.dji.sampleV5.aircraft W at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
-
No, it is the same as the sample code.
However, the first build was successful,
com.secneo.sdk.Helper.install(this)
An error occurred when adding the empty space belowVersion 5.8.0 had no errors and no problems. Problem occurred starting from 5.9.0
success
failed
No errors occur in the RC plus controller.
RC plus controller Android version is 10. -
As I said in my article, the problem does not occur with the RC plus controller.
A problem occurs when building on a Samsung Galaxy mobile.
Mobile model: Galaxy Tab S6
Android version: 12The Galaxy Mobile Android 10 version is built normally.
Mobile Model: Galaxy Tab S4
Android version: 10Expected to be a problem with Android version
So, the code added in versions after 5.9.0 is suspected.com.google.android.art
Please sign in to leave a comment.
Comments
8 comments