React Native:如何获得未签名的apk?

时间:2018-06-13 08:11:53

标签: android react-native apk unsigned

我试图获得未签名的APK。我使用了以下步骤

react-native bundle --dev false --platform android --entry-file index.js --bundle-output ./android/app/build/intermediates/assets/debug/index.android.bundle --assets-dest ./android/app/build/intermediates/res/merged/debug

然后

cd android
assembleDebug

我也试过

cd android
assembleRelease

我得到两个APK。调试APK得到一个错误,找不到开发服务器。 所以我使用发布APK安装在我的设备上,但这也不起作用。我可以安装该应用程序。 我不需要sigend APK只是一个usignes APK for testings。

编辑:忘了说我在Windows上工作。

0 个答案:

没有答案