ExceptionWithContext gets thrown when trying to build an Android app with Ant

前端 未结 3 578
我在风中等你
我在风中等你 2020-12-15 04:39

I\'ve tried searching around both on Google and on stackoverflow for an answer to this, but I\'ve been unable to find anyone with the exact issue I\'m having. I\'m attemptin

3条回答
  •  不思量自难忘°
    2020-12-15 05:13

    After months of fighting this exact problem, I have finally found a solution that works for me. It might not be your case. Make sure, that none of the classes you are referring to (Maybe Settings? Maybe AndroidUncaughtExceptionHandler?) is private. The Gradle is not able to handle it and cannot find the method within the class. Just change it to public (or just delete the flag to keep it default, if the class is nested), and you should be good to go.

提交回复
热议问题