[英]BUILD FAILED when trying to build apk with crosswalk
我試圖開始使用人行橫道,因此我查看了他們的文檔並按照所有必要的步驟進行操作。 但是當我嘗試運行命令時:
python make_apk.py --package=org.crosswalkproject.example --manifest=tasker/manifest.json
我收到一個錯誤,起初一切都很好,但隨后出現了一個BUILD ERROR:
Checking manifest file
Checking system requirements...ok
Starting application build (x86)
* Checking keystore for signing
No keystore provided for signing. Using xwalk's keystore for debugging.
Please use a valid keystore when distributing to the app market.
* Updating project with xwalk_core_library
* Checking for external extensions
* Copying native libraries for x86
* Building Android apk package with Crosswalk embedded (x86)
BUILD FAILED
/home/user1/Documents/android-sdk-linux/tools/ant/build.xml:601: The following error occurred while executing this line:
/home/user1/Documents/android-sdk-linux/tools/ant/build.xml:653: The following error occurred while executing this line:
/home/user1/Documents/android-sdk-linux/tools/ant/build.xml:698: null returned: 127
Total time: 0 seconds
Command "/home/user1/Documents/ant/bin/ant release -f /tmp/Example-zZk3z9/build.xml -Dkey.store=/home/user1/Documents/crosswalk-10.39.235.15/xwalk-debug.keystore -Dkey.alias=xwalkdebugkey -Dkey.store.password=xwalkdebug -Dkey.alias.password=xwalkdebug" exited with non-zero exit code 1
我想這與別名代碼有關,但我不確定。
PS我的index.html和manifest.json就像本教程中的一樣。 我遵循了每一步。 這是我要關注的文檔: https ://crosswalk-project.org/documentation/getting_started.html有什么解決辦法嗎?
我只是有同樣的問題。
我做了一點研究,看來可能有許多不同的原因導致此錯誤。
就我而言,我必須安裝“ lib32stdc ++ 6”
apt-get install lib32stdc++6
您可以使用查找更多有關您所遇到問題的信息
--verbose
當您運行make_apk.py時
對於其他人來說,是由於生成xml中混合了不同的目標版本而引起的。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.