美文网首页
ReactNative Push时 提示错误 Error: I

ReactNative Push时 提示错误 Error: I

作者: 风吹过山 | 来源:发表于2018-03-20 17:10 被阅读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的目录

    相关文章

      网友评论

          本文标题:ReactNative Push时 提示错误 Error: I

          本文链接:https://www.haomeiwen.com/subject/jambqftx.html