![]() Initialized native services in: C:\Users\HP.gradle\nativeĬonnected to daemon DaemonInfo (build should be done). Add the assets folder within the project (in the Project window right. ![]() Running: ‘“D:\Workspace\cocos2d\cocosjstest\frameworks\runtime-src\proj.android\gradlew.bat” -parallel -info assembleDebug -PPROP_COMPILE_SCRIPT=0 -PPROP_NDK_MODE=debug’ App prerequisites Use Android Studio 3.2 or higher Make sure that your apps build file uses the following values: A minSdkVersion of 19 or higher A. Setup Project Directory Structure Create a new Blank Activity project in Android Studio. Using Android Studio project : D:\Workspace\cocos2d\cocosjstest\frameworks\runtime-src\proj.android Choose suitable android configuration on which you are going to test your application. Click on Create New Virtual Device, you will see below screen. Go to Run > Run ‘app’, you will see below screen. ![]() I have created a new cocos2d-x javascript project, when I try to run on android it gives me a weird error Search for jobs related to Gradle build failed android studio or hire on the worlds largest freelancing marketplace with 21m jobs. Run Hello World App : Lets run the app now. Error: Could not find or load main class HelloWorld comes when you are trying to run your Java program using java command with the main class as HelloWorld.
0 Comments
Leave a Reply. |