Comments (10)
Hi, thank you for reporting this. I followed up with Samsung about this and it seems like AGI support for the Mali versions of Note 10 and S10 are not out yet. I will update the device validation page with the latest information and will update this once we receive word on when it will be out.
from agi.
Just an update, after several OS updates, I decided to try again using the same AGI version and the "Device support validation passed." message is shown. After starting the capture, the app is launched but it crashes immediately. The following stack trace can be found in the logs:
2021-04-22 18:29:12.216 16528-16528/<package_name> E/AndroidRuntime: FATAL EXCEPTION: main
Process: <package_name>, PID: 16528
java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.content.pm.ApplicationInfo.primaryCpuAbi' on a null object reference
at android.os.GraphicsEnvironment.chooseAbi(GraphicsEnvironment.java:1088)
at android.os.GraphicsEnvironment.getDebugLayerAppPaths(GraphicsEnvironment.java:304)
at android.os.GraphicsEnvironment.getDebugLayerPathsFromSettings(GraphicsEnvironment.java:278)
at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:872)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:1016)
at android.app.LoadedApk.getResources(LoadedApk.java:1260)
at android.app.ContextImpl.createAppContext(ContextImpl.java:2788)
at android.app.ContextImpl.createAppContext(ContextImpl.java:2780)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7329)
at android.app.ActivityThread.access$1500(ActivityThread.java:301)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2148)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:246)
at android.app.ActivityThread.main(ActivityThread.java:8506)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
Attempting to launch the app again manually also generates the same error and it will only open if I manually uninstall the GAPID app.
from agi.
Thanks. Let me forward this to our engineers.
from agi.
@lpy this looks like a bug in GraphicsEnvironment that you fixed with https://cs.android.com/android/_/android/platform/frameworks/base/+/eb1c5a4c28ec7cd2577e7182ed249a8ec4cc4c0b, could it be that Samsung didn't picked it up yet?
from agi.
We have fixed this bug on the platform side and it was rolled out through quarterly platform release. It looks like the build on this Samsung phone doesn't have the fix
from agi.
@rafaelvcaetano in the long term, a future system update from Samsung should bring the Android fix this gets rid of this issue.
In the meantime, you might be able to work around this issue by uninstalling AGI APKs manually:
adb shell uninstall com.google.android.gapid.armeabiv7a
adb shell uninstall com.google.android.gapid.arm64v8a
And then restarting AGI. Could you please try this (and re-try a few times if it still fails), and let us know if that unblocks you?
from agi.
I tried the workaround a few times but the problem still persists.
I will wait for the next updates and I will let you know if the problem is fixed or a different outcome is produced.
from agi.
@rafaelvcaetano sorry to hear that. As a last resort you can maybe try our unstable but more recent AGI dev-release, to see if that makes any difference:
https://github.com/google/agi-dev-releases/releases/latest
from agi.
Thanks for the suggestion! So, I tried the latest dev release and that actually seemed to fix the problem. The app is now launched automatically without crashing and I can perform captures without issues!
from agi.
Glad to hear that! I'll keep this issue open until we have confirmation that Samsung picked up the Android fix.
from agi.
Related Issues (20)
- samsung s21 error on capture analysis HOT 1
- Samsung S23 fails validation
- GL_TEXTURE_EXTERNAL_OES is not support ?
- couldn't connect to my android
- Failed to validate the trace on Samsung Galaxy S22 Ultra
- Nothing phone (1) fails validation
- The application I want to capture is not in the list
- Does Frame profile only support Adreno Devie?
- AGI doesnt support OnePlus 2 Nord 5G HOT 1
- Any hope of supporting VR devices like the Quest? HOT 2
- No device connected that supports this trace type.
- 'NXArchInfo' is deprecated: first deprecated in macOS 13.0.
- AGI becomes too slow with large trace files (450MB for example)
- Arm Mali-G52
- Crash while opening trace of a Unity android application on samsung S10 (Vulkan) HOT 3
- Failed Validation on Galaxy S22 HOT 1
- No device can be found by AGI and GAPIS, but they are detected by adb
- FAiledTraceValidation Error on Galaxy S20+ device HOT 1
- my mobile is S20U,but Connection error occurred
- where can i find the ersDataProducer.cpp
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agi.