大家有遇到这个问题吗:

FAILURE: Build failed with an exception.* What went wrong:
Execution failed for task ':app:prepareSmartPropertyReactNativeSplashScreenUnspecifiedLibrary'.
> Could not expand ZIP 'F:\ProjectCode\smartproperty\SmartProperty\node_modules\react-native-splash-screen\android\build\outputs\aar\react-native-splash-screen-release.aar'.* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to
get more log output.

网上的解决方法真不少,但都不管用,下面给出我的方法:

cd android
gradlew clean
cd ..
react-native run-android

或者

cd android && gradlew clean && cd .. && react-native run-android

#结尾
还想吐槽一下RN,真TM的难用,要不是看在跨平台的好处,真不想用,但是爬坑浪费的时间足够我开发2个APP了。

Error:Could not expand ZIP *.aar相关推荐

  1. Error:Could not find appcompat-v7.aar (com.android.support:appcompat-v7:26.1.0). Searched in the fol

    项目之前好好地,今天打开突然报错了.AS版本2.3.3 Error:Could not find appcompat-v7.aar (com.android.support:appcompat-v7: ...

  2. ERROR: Failed to open zip file. Gradle‘s dependency cache may be corrupt (this sometimes occurs afte

    背景: 当下载一个 6.3的 gradle 时,出现了如下报错信息 ERROR: Failed to open zip file.Gradle's dependency cache may be co ...

  3. 完美解决Error:Failed to open zip file. Gradle‘s dependency cache may be corrupt (this sometimes occurs a

    完美解决Error:Failed to open zip file. Gradle's dependency cache may be corrupt (this sometimes occurs a ...

  4. Android studio2.3.1 更新以后Error:Failed to open zip file. Gradle's dependency cache may be corrupt

    更新android studio 2.3.1之后,新建工程报错如图... 更改gradle位置为studio内部gradle位置之后依然不行..但是android studio 2.3版本好像可以. ...

  5. React Native Could not expand ZIP错误信息

    https://blog.csdn.net/hunannanhu/article/details/78047713

  6. unzip error 22 - Invalid argument

    问题 当zip文件是Windows创建且编码存在问题时,macOS X自带的unzip是不能解压的,会提示:unable to expand "*.zip" into " ...

  7. java zip malformed_关于Java解压文件的一些坑及经验分享(MALFORMED异常)

    关于Java解压文件的一些坑及经验分享 就在本周, 测试人员找到我说现上的需求文档(zip格式的)无法预览了, 让我帮忙看看怎么回事. 这个功能也并不是我做的, 于是我便先看看线上日志有没有什么错误, ...

  8. android studio failed to open zip file,Android Studio出现Failed to open zip file问题的解决方法...

    最近将AS升级至2.3之后,新建项目遇到了如下问题:Error:Failed to open zip file.Gradle's dependency cache may be corrupt (th ...

  9. 在Java 8中使用Stream API列出ZIP文件的内容

    在Java 8 java.util.zip.ZipFile配备了stream方法,该方法可以非常轻松地浏览ZIP文件条目. 在此博客文章中,我将展示许多示例,这些示例显示了我们可以如何快速浏览ZIP文 ...

最新文章

  1. 《JS权威指南学习总结--第十一章子集和扩展》
  2. codeforces 785D D. Anton and School - 2
  3. RPC和MQ各自适合的应用场景
  4. 无法打开物理文件“E:\Database\VRVIES6841-FZ01-Global\VRVEIS.mdf”。操作系统错误 5:“5(拒绝访问。)”...
  5. mysql判断表存在的sql语句_SQL 语句判断已知表是否存在_MySQL
  6. 结构设计模式 - 代理设计模式
  7. 基于JAVA+SpringMVC+Mybatis+MYSQL的学生健康信息管理系统
  8. java gson json_Java利用gson处理json字符串
  9. 软件测试工程师面试-常见的python笔试题(一)
  10. Maven实战从入门到精通(全)
  11. 朝代官制,6部是什么
  12. FAT12文件系统 理解
  13. 知識は潜在能力、行動は力CommentsAdd Star
  14. DataStream API【1】
  15. html状态中的302代码含义,网站状态码301与302的作用与区别
  16. MySQL主从部署, master and slave have equal MySQL server UUIDs问题解决
  17. 優しさの理由 (冰菓op)歌词
  18. Method of posterior probabilities generation for ordinal classification
  19. 电商用户行为预测数据初探
  20. 无线蓝牙耳机充电仓充电_无线充电器浪费能源

热门文章

  1. PhotoShop一键标注文本图层工具
  2. 如何用python画函数图像_使用python的pyplot绘制函数实例
  3. (34)ObjectARX2015 + vs2012组字典
  4. 老式南京mf47万用表电路图分析
  5. PyYAML 实用的使用技巧!
  6. 有没有什么输入文字就能转成语音的软件
  7. Zach Nelson(NetSuite CEO) is comming to beijing today,netsuite中国
  8. Java 使用LinkedList模拟KTV点歌系统,首先先添加若干歌曲,如果歌曲列表中已有该歌曲,则不加入,否则追加。`然后选择列表中的其中一首置顶,最后选择列表中一首歌曲前置一位。
  9. SILKYPIX Developer Studio Pro for Mac v11.0.3 专业的RAW图像处理软件
  10. 3. Fomula-Financial Market and Product