-
Notifications
You must be signed in to change notification settings - Fork 100
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
Can't generate an apk #613
Comments
Having same issue, also on ubuntu. |
Thanks. I suspect we need to update that util to look in more paths for the apk. Unfortunately sometimes these can move around and we dont catch it. I'll aim to get this in the next release as well, All of that work is handled by this util: https://github.com/isleofcode/corber/blob/master/lib/targets/android/utils/apk-path.js |
To keep this ticket updated I've managed to build a replication case yesterday. It appears to happen when the build is with Gradle 5+ and/or for devices with API 28+ - both lower cases appear to be working for me. This issue seems to be present only on Ubuntu. I'll have more time to dig in the coming days and find out what our cause is. |
I confirm this issue. Fresh project, generated the same way as docs mentioned. Same error. APK not found, twice. Using Linux Mint. SDK API 27. gradle_5.4.1. When I try to open the project in studio, it wants me to import the project, using graddle wrapper. When buiding the project, it reports this error:
|
PS. Is JDK 8 really needed? I installed OpenJDK 8, because Oracle's version is obsolete and not publicly available. |
Having same issue on OSX, anyone managed to solve this? |
@dev-zetta OpenJDK is fine, I need to update the docs there. Just confirmed this is resolved as of 1.3.12 - coming out later today. |
I seem to have a very similar issue to issue #598 where Corber isn't generating an adk as expected. When I try corber start I see 'No apk found' twice. When I look at corber/cordova/platforms/android/build/ there is no outputs/ folder. There is an app-debug.apk in corber/cordova/platforms/android/app/build/outputs/apk/debug/ and if I drag and drop that into my emulator it installs without issue, yet corber start isn't seeing it. Also my 'project' is just the default ember-quickstart tutorial since I wanted to try corber with the simplest thing possible before trying to convert a real project.
I'm on Ubuntu 16.04, java 1.8.0_191, corber 1.3.10, and gradle 5.4.1 which I installed via the steps at gradle.org/install/.
I have 6 AVD's on my system and all of them give the same error if I choose them with 'corber start' except the Pixel XL with API 28, which appears to start but then freezes and hangs until I close it, at which point Corber outputs "emulator failed to start" twice. I also tried making a new Ember project with absolutely no changes except the rootUrl and locationType and I have the same problem in that project, except it says "No apk found" for every emulator.
If this should be kept as discussion in that issue let me know and I'd be happy to close this one.
The text was updated successfully, but these errors were encountered: