androidjs-builder icon indicating copy to clipboard operation
androidjs-builder copied to clipboard

androidjs build > "failed to move apk to dist folder"

Open CelularBat opened this issue 1 year ago • 1 comments

Hello, this is my first try to use androidJS. I'm compiling the example app from project page.

When I run: andoridjs build I get that message at the end. The full log is:

f--release= false copying assets ... updating app name... Setting app version ... Version Code: 1000032 Version Name: 1.0.0 updating theme ... theme attribute not found in package.json Using SDK: 2.3.0 Building Apk ... Generating apk in debug mode. use '--release' to generate release build failed to move apk to dist folder

I thought it might be some kind of issue with permissions, but I've tried it both on linux and on windows (also in admin mode) and I always get this error.

As I guess the apk was compiled after all, where is a temp path I can find it?

CelularBat avatar May 14 '24 02:05 CelularBat

Ok, I've solved the issue. There were no message indicating that, but it was due to lack of installed JDK. I've installed JDK and everything seems fine.

@edit

No, I only eliminated the problem on Windows, but on Linux I still get: "failed to move apk to dist folder" JDK is installed, and it's used to sign an app. So on Linux problem persists.

CelularBat avatar May 14 '24 03:05 CelularBat