jasonross / Nuwa

Nuwa, pure java implementation, can hotfix your android application.
2.96k stars 575 forks source link

按照步骤 Task 'nuwaDebugPatch' not found in root project 'Nuwa-master'. #41

Open mox113 opened 8 years ago

mox113 commented 8 years ago

hudepeideMacBook-Pro:Nuwa-master HuDP$ ./gradlew clean nuwaDebugPatch -P NuwaDir=/Users/HuDP/Documents/nuwa /Users/HuDP/Documents/nuwa/xiaomi/debug/mapping.txt does not exist /Users/HuDP/Documents/nuwa/xiaomi/debug/hash.txt does not exist /Users/HuDP/Documents/nuwa/xiaomi/release/mapping.txt does not exist /Users/HuDP/Documents/nuwa/xiaomi/release/hash.txt does not exist /Users/HuDP/Documents/nuwa/qihoo/release/mapping.txt does not exist /Users/HuDP/Documents/nuwa/qihoo/release/hash.txt does not exist

FAILURE: Build failed with an exception.

BUILD FAILED

Total time: 6.76 secs

mox113 commented 8 years ago

是在项目 下 执行./gradlew clean nuwaDebugPatch -P NuwaDir=/Users/Documents/nuwa

mox113 commented 8 years ago

命令错了...

sosoph1123 commented 8 years ago

我运行的事例 结果也报错 不能生存patch 我确实是在项目下执行 yangshuodeMBP:Nuwa-master yangshuo$ ./gradlew clean nuwaQihooDebugPatch -P NuwaDir=/Users/yangshuo/Documents/nuwa /Users/yangshuo/Documents/nuwa/xiaomi/debug/mapping.txt does not exist /Users/yangshuo/Documents/nuwa/xiaomi/debug/hash.txt does not exist /Users/yangshuo/Documents/nuwa/xiaomi/release/mapping.txt does not exist /Users/yangshuo/Documents/nuwa/xiaomi/release/hash.txt does not exist /Users/yangshuo/Documents/nuwa/qihoo/release/mapping.txt does not exist /Users/yangshuo/Documents/nuwa/qihoo/release/hash.txt does not exist :clean UP-TO-DATE 也会出现这样的not exist 而且还会出现 FAILURE: Build failed with an exception.

sosoph1123 commented 8 years ago

这个要怎么解决啊

louisgeek commented 8 years ago

set ANDROID_HOME=D:/android/sdk

liuqi6 commented 8 years ago

我运行demo想实验一下,也碰上上面的问题,不知道如何解决。ANDROID_HOME环境变量已配置。