FAILURE: Build Failed with an exception.* What went wrong: Task 'installDeBUG' not found in root project 'androID'.* Try: Run gradlew tasks to get a List of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --deBUG option to get more log output.BUILD Failed
如果我运行./gradlew任务,我得到:
Build Setup tasks-----------------init - Initializes a new Gradle build. [incubating]wrapper - Generates Gradle wrapper files. [incubating]Help tasks----------buildEnvironment - displays all buildscript dependencIEs declared in root project 'androID'.components - displays the components produced by root project 'androID'. [incubating]dependencIEs - displays all dependencIEs declared in root project 'androID'.dependencyInsight - displays the insight into a specific dependency in root project 'androID'.help - displays a help message.model - displays the configuration model of root project 'androID'. [incubating]projects - displays the sub-projects of root project 'androID'.propertIEs - displays the propertIEs of root project 'androID'.tasks - displays the tasks runnable from root project 'androID'.
知道为什么我的项目中没有installDeBUG任务吗?我该如何取回它?
解决方法 react-native run-androID –variant [productFlavorname] [deBUG / release]例如react-native run-androID –variant HuaweIDeBUG
总结以上是内存溢出为你收集整理的在根项目’android’React Native中找不到’installDebug’全部内容,希望文章能够帮你解决在根项目’android’React Native中找不到’installDebug’所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)