Skip to content

Cordova 10.0.0 / android 9.0.0 / build successful / no apk produced #1128

@infuzz

Description

@infuzz

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

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions