ionic で crosswalk をインストールした後、Android をビルドしようとすると、この gradle エラーが発生します。
横断歩道なしでイオンプロジェクトを作成すると、ビルドは完璧に機能します。
ionic info
ここ:
OS: Windows 8.1
ノードのバージョン: v0.12.0
コルドバ CLI: 4.2.0
イオンバージョン: 1.0.0-beta.14
イオン CLI バージョン: 1.3.11
何か助けはありますか?前もって感謝します
EDIT:私が試したユーザーから提案されたandroid update project
最後ant clean
のコマンドで、ビルド失敗エラーが発生しました:
PS C:\Users\aluknot\Desktop\Hybrid App\test\platforms\android> ant clean
Buildfile: C:\Users\aluknot\Desktop\Hybrid App\test\platforms\android\build.xml
-check-env:
[checkenv] Android SDK Tools Revision 24.0.2
[checkenv] Installed at C:\Program Files (x86)\Android\android-sdk
-setup:
[echo] Project Name: MainActivity
[gettype] Project Type: Application
-pre-clean:
clean:
[getlibpath] Library dependencies:
[getlibpath]
[getlibpath] ------------------
[getlibpath] Ordered libraries:
Duplicated project name in import. Project android_rules defined first in C:\Program Files (x86)\Android\android-sdk\too
ls\ant\build.xml and again in C:\adt-bundle\sdk\tools\ant\build.xml
Trying to override old definition of task testedprojectclasspath
Trying to override old definition of task getuitarget
Trying to override old definition of task getlibpath
Trying to override old definition of task renderscript
Trying to override old definition of task lint
Trying to override old definition of task dex
Trying to override old definition of task getprojectpaths
Trying to override old definition of task buildconfig
Trying to override old definition of task aidl
Trying to override old definition of task propertybyreplace
Trying to override old definition of task signapk
Trying to override old definition of task gettype
Trying to override old definition of task if
Trying to override old definition of task dependency
Trying to override old definition of task xpath
Trying to override old definition of task zipalign
Trying to override old definition of task apkbuilder
Trying to override old definition of task getbuildtools
Trying to override old definition of task aapt
Trying to override old definition of task getemmafilter
Trying to override old definition of task checkenv
Trying to override old definition of task mergemanifest
Trying to override old definition of task gettarget
Trying to override old definition of task emmajava
Trying to override old definition of task emma
nodeps:
-check-env:
-setup:
[echo] Project Name: XWalkCoreLibrary
[gettype] Project Type: Android Library
-pre-clean:
clean:
BUILD FAILED
C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:470: Invalid file: C:\Users\aluknot\Desktop\Hybrid App\test\platforms\android\CordovaLib\build.xml
Total time: 1 second