Reputation: 141
Error running adb: Failed to install C:\Users\Username.expo\android-apk-cache\Exponent-2.0.0.apk: Error: must either specify a package size or an APK file
This is my error. I have Andriod emulator running and it on API 25. Java 1.8
Could anyone help me on this? I have react-native init and run-android running properly. But not create-reactive-native-app
Upvotes: 2
Views: 2655
Reputation: 71
This looks like the expo apk is not downloaded fully and it's trying to install a corrupt apk. Couple of ways to fix this.
Upvotes: 2