Skip to content

Instantly share code, notes, and snippets.

View maxxbw54's full-sized avatar
🍩
Life is fantastic!

Bowen(Brad) Xu maxxbw54

🍩
Life is fantastic!
View GitHub Profile
@maxxbw54
maxxbw54 / [infer docker] android example failure
Created October 16, 2019 09:14
[infer docker] android example failure
root@f129a368d59a:/infer/examples/android_hello# infer run -- ./gradlew build
Capturing in gradle mode...
Running and capturing gradle compilation...
09:12:14.429 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
09:12:14.429 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
09:12:14.430 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
09:12:14.430 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
09:12:14.430 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] A problem occurred configuring project ':app'.
09:12:14.430 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > You have not accepted the license agreements of the following SDK components:
09:12:14.430 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] [Android SDK Platform 22, Android SDK Build-Tools 22.0.1].
@maxxbw54
maxxbw54 / infer on Gradle project
Created October 16, 2019 08:44
[Gradle] Error: Could not find or load main class ReservedCodeCacheSize=240M
infer run -- ./gradlew build
Capturing in gradle mode...
Running and capturing gradle compilation...
Error: Could not find or load main class ReservedCodeCacheSize=240M
Caused by: java.lang.ClassNotFoundException: ReservedCodeCacheSize=240M
ERROR: couldn't run compilation command `[u'./gradlew', '--debug', u'build']`
Internal Error: /home/bowen/Desktop/research/Explainable-Program-Repair/python-project/src/debugging_tools/infer/infer-linux64-v0.17.0/lib/infer/infer/bin/../lib/python/infer.py
-j 32 --project-root
/home/bowen/Downloads/infer-0.17.0/examples/android_hello --out
/home/bowen/Downloads/infer-0.17.0/examples/android_hello/infer-out --