-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with parsing APK #76
Comments
Installing this package gives me this on the terminal through ADB.
This is because unsigned APKs cannot be installed on a real device. SilenceEngine apps cannot run in an emulator because of the requirement of OpenGL ES 3.0, and hence your APK cannot be installed and run. You want to self sign your apk in order for it to get installed on a device. If it is for your own testing, use debug builds, or better use desktop backend while development and test it on android after everything is working. |
Thank you for pointing out all of the earlier issues. After correcting them, I am still having the parse issue however. Using adb I get the following response.
Not sure if this is related to the device or the PC. The new download is here. As for testing, this application was created for the sole purpose of testing the performance of certain code on physical devices, so the desktop edition is not accurate enough. |
Dunno, but it installed fine, but it failed to run.
|
I have got some logcat output for you, and it seems that you are calling
The device objects in the |
After digging into things a bit further, I think I have found the source of the issue. By default Silence Engine sets the minimum SDK to 22, however Android 5.0 is SDK 21. I went through the gradle script to manually lower the minimum SDK (Since 5.0 was listed as the lowest android version required) however I got the following issue.
|
Will fix that by tonight. The same thing also happens with AndroidOpenAL project which is a dependency of android backend. Will change every thing by tonight. |
Okay, thank you for looking into this. I will hold off on updating to 6.0 until then, so we can confirm that the issue has been solved. |
I have reduced the minimum Android SDK to 21 (Lollipop). Can you try it now again? |
After re-downloading the project creator and making a new project, the sdk version was set to 22 by default. After changing it, I got the same error as before. https://gist.github.com/darkhax/8507b7a9a680c7cf35ae6da2a0db444b |
I haven't yet updated the binaries in the project creator, in the sense that the project is not a released version. Please compile it yourselves and replace the library files. |
I can't compile it myself if you do not push the code to GitHub. |
Did you get this working? In that case, this can be closed. |
Yes, this change fixed my issues. Was able to run the test apps from silence fine. |
I am currently trying to run a unit test of sorts on android using the Silence Engine, however I get a parsing error when I try to install the app. This happens with all 3 generated APK files. Could you test and see if it's an issue with the apk? download
As for what the app actually does, it runs 12 tests on the device, which time how long Oracle's Random takes to generate large amounts of various things, and then compares it against my implementation of Random, and a friends alternative version. This test is pretty taxing on the CPU, so I wouldn't recommend running it past a few seconds.
Edit: The specs of my device should be able to hit Silence Engine's minimum. It's an Asus Zenfone 2 ZE551ML running Android 5.0.
The text was updated successfully, but these errors were encountered: