apache / apache/cordova-android
Cordova 10.0.0 / android 9.0.0 / build successful / no apk produced
- Dominant language
- JavaScript
- Stars
- 3.8k
- Forks
- 1.6k
- Avg merge
- 16h 18m
- Merged PRs (30d)
- 11
Description
# Bug Report
## Problem
I have an issue with a specific third party plugin : https://github.com/vidinoti/cordova-plugin-PixLive
With a fresh empty cordova create app, no other plugin except whitelist, the BUILD is SUCCESSFUL but, NO apk is produced (debug or release)
without the plugin, BUILD is SUCCESSFUL also but it produces the expected apk
My request is not about the third party plugin, but it's about "Why there is NO ERROR and BUILD marked as Successful, but no apk produced "?
What could be done to investigate, or find what is wrong.
### What is expected to happen?
BUILD SUCCESSFUL in 3s
42 actionable tasks: 42 executed
Built the following apk(s):
/myApp/platforms/android/app/build/outputs/apk/debug/app-debug.apk
### What does actually happen?
BUILD SUCCESSFUL in 3s
42 actionable tasks: 42 executed
Built the following apk(s):
#### The build is successful, there is absolutely no errors reported, but it doesn't produce any apk ???
## Information
We use a plugin "cordova-plugin-pixlive"
https://github.com/vidinoti/cordova-plugin-PixLive
This plugin requires to copy two items "VDARSDK.framework" and "vdarsdk-release.aar" to ./PixLiveSDK
These two can be downloaded here by create a free test account : https://www.vidinoti.com/v-sdk/
### Command or Code
cordova create myApp org.apache.cordova.myApp myApp
cordova plugin add cordova-plugin-pixlive --variable LICENSE_KEY=test --variable
PIXLIVE_SDK_IOS_LOCATION="./PixLiveSDK/VDARSDK.framework" --variable
PIXLIVE_SDK_ANDROID_LOCATION="./PixLiveSDK/vdarsdk-release.aar"
cordova platform add android
cordova build --debug
### Environment, Platform, Device
Debian 10.5
### Version information
Cordova:
Cordova CLI : 10.0.0
Cordova Platforms : android 9.0.0
Cordova Plugins
cordova-plugin-whitelist@^1.3.4
cordova-plugin-pixlive@^1.15.0
Other Frameworks: None
Operating System : Debian 10.5
Android Studio : Android-sdk 25.0.0
Xcode : 12.2
## Checklist
- [X] I searched for existing GitHub issues
- [X] I updated all Cordova tooling to most recent version
- [X] I included all the necessary information above
Contributor guide
Research direction
Reproduce the reported setup with the listed cordova create, plugin add, platform add, and cordova build commands, using the supplied PixLive SDK locations. Compare the build output with and without cordova-plugin-pixlive; done means identifying why the APK path is empty or producing a clear error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java, javascript
- Domain
- build-system, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100