HuyPV
Wednesday, August 23, 2017
:react-native-maps:prepareComAndroidSupportAppcompatV72301Library FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-maps:prepareComAndroidSupportAppcompatV72301Library'.
> Could not expand ZIP 'C:\Users\huypv\AppData\Local\Android\sdk\extras\android\m2repository\com\android\support\appcompat-v7\23.0.1\appcompat-v7-23.0.1.aar'.
Solution:
Edit file node_modules\react-native-maps\lib\android\build.gradle
Change lines:
compile "com.google.android.gms:play-services-base:x.y.z"
compile "com.google.android.gms:play-services-maps:x.y.z"
to
compile "com.google.android.gms:play-services-base:+"
compile "com.google.android.gms:play-services-maps:+"
Title:
react-native failed Could not expand ZIP
Description:
Đang chuẩn bị code React native thấy mệt vờ lờ, lỗi tóe loe. Mà đờ mờ, mỗi lần run nó lại ra lỗi khác nhau mới vãi lờ
...
Rating:
4