ReactNative Push时 提示错误 Error: I
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的目录