看来我已经很接近让我的应用程序可以与Apportable一起使用了,但是我肯定缺少一些东西。我可以将其编译并加载到我的Android设备上,但无法弄清楚如何获得可以上传到Play商店的版本。
我正在按照http://docs.apportable.com/publishing上的说明进行操作。
我已经使用以下命令生成了密钥:
keytool -genkey -v -keystore release.keystore -alias mykey -keyalg RSA \
-keysize 2048 -validity 10000
然后我执行以下命令:
BUILD=release
ANDROID_KEYSTORE=release.keystore
ANDROID_KEYSTORE_PASS=mypassword
apportable build
然后这是我看到的输出:
Warning: Unable to find a file to match the following requested asset: /Users/xxx.xxxx/xxxxx/xxxxx/xxxxx/../../../../../var/folders/k6/622y1j591td761hnpbwz9fzr8rr8br/T/tmpdw18sb/TARGET_BUILD_DIR/libObjectiveChipmunk.a
Warning: Module com.rrTenz.Tens/Tens: lib /Users/xxx.xxxx/xxxxx/xxxxx/Tens/z does not exist
Warning: Module com.rrTenz.Tens/Tens: lib /Users/xxx.xxxxx/xxxxxx/app apple/Tens/sqlite3 does not exist
Warning: Module com.rrTenz.Tens/Tens: lib /Users/xxx.xxxxx/xxxxx/xxxxx/Tens/ObjectiveChipmunk does not exist
[1/11] Writing Build/android-armeabi-debug/Tens/AndroidManifest.xml
[2/11] Zipping Build/android-armeabi-debug/Tens/Tens-debug.apk:/assets/Info.plist
[3/11] Creating Build/android-armeabi-debug/Tens/Tens-resources.apk and R.java files
[4/4] Building Build/android-armeabi-debug/Tens/Tens-debug.apk
有人可以告诉我我在想什么吗?
这是我在更改程序包名称并从目录名称中删除空格后看到的内容:
apportable build
Warning: Unable to find a file to match the following requested asset: /Users/ryan.tensmeyer/Dropbox/app_apple/Tens/../../../../../var/folders/k6/622y1j591td761hnpbwz9fzr8rr8br/T/tmpTQQuSR/TARGET_BUILD_DIR/libObjectiveChipmunk.a
Warning: Module com.rrtenz.Tens/Tens: lib /Users/ryan.tensmeyer/Dropbox/app_apple/Tens/z does not exist
Warning: Module com.rrtenz.Tens/Tens: lib /Users/ryan.tensmeyer/Dropbox/app_apple/Tens/sqlite3 does not exist
Warning: Module com.rrtenz.Tens/Tens: lib /Users/ryan.tensmeyer/Dropbox/app_apple/Tens/ObjectiveChipmunk does not exist
ninja: error: expected depfile '/Users/ryan.tensmeyer/.apportable/SDK/Build/android-armeabi-debug/com.rrtenz.Tens/Tens/Users/ryan.tensmeyer/Downloads/iAdHelper/iAdHelper.m.o.d' to mention '/Users/ryan.tensmeyer/.apportable/SDK/Build/android-armeabi-debug/com.rrtenz.Tens/Tens/Users/ryan.tensmeyer/Downloads/iAdHelper/iAdHelper.m.o', got '/Users/ryan.tensmeyer/.apportable/SDK/Build/android-armeabi-debug/com.rrTenz.Tens/Tens/Users/ryan.tensmeyer/Downloads/iAdHelper/iAdHelper.m.o'
Error: command failed: /Users/ryan.tensmeyer/.apportable/SDK/toolchain/macosx/ninja/ninja --no-strip-ansi-escapes -j 16 /Users/ryan.tensmeyer/.apportable/SDK/Build/android-armeabi-debug/Tens/Tens-debug.apk
这是我执行
apportable clean
之后的当前输出:apportable build
Warning: Unable to find a file to match the following requested asset: /Users/ryan.tensmeyer/Dropbox/appApple/TensApportable/../../../../../var/folders/k6/622y1j591td761hnpbwz9fzr8rr8br/T/tmpYWZNxo/TARGET_BUILD_DIR/libObjectiveChipmunk.a
Warning: Module com.rrtenz.Tens/Tens: lib /Users/ryan.tensmeyer/Dropbox/appApple/TensApportable/z does not exist
Warning: Module com.rrtenz.Tens/Tens: lib /Users/ryan.tensmeyer/Dropbox/appApple/TensApportable/sqlite3 does not exist
Warning: Module com.rrtenz.Tens/Tens: lib /Users/ryan.tensmeyer/Dropbox/appApple/TensApportable/ObjectiveChipmunk does not exist
[1/10] Writing Build/android-armeabi-debug/Tens/AndroidManifest.xml
[2/10] Creating Build/android-armeabi-debug/Tens/Tens-resources.apk and R.java files
[3/3] Building Build/android-armeabi-debug/Tens/Tens-debug.apk
最佳答案
您的软件包名称com.rrTenz.Tens
不正确。 T
中的第一个大写字母rrTenz
必须小写,第二个T
可以-可以保持大写。
包名称的仅前两个成员需要小写。