ReactNative Push时 提示错误 Error: I

2018-03-20  本文已影响0人  风吹过山

Error: Invalid filename
at new ApkReader (D:\react-native\yiguan_rn_demo\node_modules\node-apk-parse
r\lib\apkreader.js:27:17)
at Function.ApkReader.readFile (D:\react-native\yiguan_rn_demo\node_modules
node-apk-parser\lib\apkreader.js:16:14)
at getApkVersion (D:\react-native\yiguan_rn_demo\node_modules\react-native-u
pdate\local-cli\lib\utils.js:81:42)
at Object.<anonymous> (D:\react-native\yiguan_rn_demo\node_modules\react-nat
ive-update\local-cli\lib\package.js:110:51)
at Generator.next (<anonymous>)
at step (D:\react-native\yiguan_rn_demo\node_modules\react-native-update\loc
al-cli\lib\package.js:58:191)
at D:\react-native\yiguan_rn_demo\node_modules\react-native-update\local-cli
\lib\package.js:58:437
at new Promise (<anonymous>)
at Object.<anonymous> (D:\react-native\yiguan_rn_demo\node_modules\react-nat
ive-update\local-cli\lib\package.js:58:99)

解决:
D:\react-native\rn_demo>pushy uploadApk android/app/build/outputs/apk/app
release2.0.apk

D:\react-native\rn_demo>pushy uploadApk android/app/build/outputs/apk/release/app
release2.0.apk
少一层release的目录

上一篇下一篇

猜你喜欢

热点阅读