首页 > 建站教程 > APP开发,混合APP >  uni-app离线打包,报错:Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Faile to app正文

uni-app离线打包,报错:Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Faile to app

uni-app离线打包,报错:

Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Faile to app


解决方法

在项目中的gradle.properties文件中添加语句:

android.overridePathCheck=true


1.png


2.png


添加完后点击右上角的“刷新”按钮就可以了


3.png