1

私は crosswalk を始めようとしているので、彼らのドキュメントを見て、必要なすべての手順に従いました。しかし、コマンドを実行しようとすると:

python make_apk.py --package=org.crosswalkproject.example     --manifest=tasker/manifest.json

エラーが表示されます。最初はすべて問題ありませんが、ビルド エラーが発生します。

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 それを修正する方法はありますか?

4

1 に答える 1

1

私はちょうどこれと同じ問題を抱えていました。

少し調べてみたところ、このエラーにはさまざまな原因が考えられるようです。

私の場合、「lib32stdc++6」をインストールする必要がありました

apt-get install lib32stdc++6

を使用して、抱えている問題について詳しく知ることができます

--verbose

make_apk.py を実行すると

他の人にとっては、問題の原因となったのは、ビルド xml 内の異なるターゲット バージョンの混合でした。

于 2015-03-27T09:29:00.580 に答える