CodePush集成问题

226 阅读1分钟

Android

  1. 更新CodePush Error in getting binary resources modified time

bulid.gradle中添加

android {
    defaultConfig {
        resValue 'string', "CODE_PUSH_APK_BUILD_TIME", String.format(""%d"", System.currentTimeMillis())
    }
}
  1. 报错# A JS bundle file named "index.android.bundle" could not be found within the downloaded contents

appcenter codepush release-reactpush到了iOS项目下,push到安卓项目下就解决了