设置cordova environement ubuntu / Java /无法构建

时间:2018-03-06 03:39:34

标签: java android xml cordova

我已经更改了操作系统,我尝试使用ubuntu构建cordova应用程序。

我已安装java JDK / JRE和visual studio。

但是" Cordova构建了android"没做什么。

No scripts found for hook "before_build".
No scripts found for hook "before_prepare".
Checking config.xml and package.json for saved platforms that haven't been added to the project
Config.xml and package.json platforms are the same. No pkg.json modification.
Package.json and config.xml platforms are different. Updating config.xml with most current list of platforms.
PlatformApi successfully found for platform android
Android Studio project detected
Checking config.xml for saved plugins that haven't been added to the project
Checking for any plugins added to the project that have not been installed in android platform
No differences found between plugins added to project and installed in android platform. Continuing...
Generating platform-specific config.xml from defaults for android at /home/peneinc/Documents/github/test/platforms/android/app/src/main/res/xml/config.xml
Merging project's config.xml into platform-specific android config.xml
Merging and updating files from [www, platforms/android/platform_www] to platforms/android/app/src/main/assets/www
Wrote out android application name "test" to /home/peneinc/Documents/github/test/platforms/android/app/src/main/res/values/strings.xml
android-versionCode not found in config.xml. Generating a code based on version in config.xml (1.0.0): 10000
Wrote out Android package name "com.test.ok" to /home/peneinc/Documents/github/test/platforms/android/app/src/main/java/com/test/ok/MainActivity.java
This app does not have launcher icons defined
This app does not have splash screens defined
This app does not have additional resource files defined
Prepared android project successfully
No scripts found for hook "after_prepare".
No scripts found for hook "before_compile".
ANDROID_HOME=/root/Android/Sdk
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
studio

See gif logs

如何解决?

THX

0 个答案:

没有答案