Open andrisasuke opened 7 years ago
Sorry forgot to push attribute dependency, please try rebuild the project. Thank you.
please add this config inside app/build.gradle
android { ... lintOptions { abortOnError false }
... }
its failed on linux compile
I build the project on Linux as well and got no error, anyway I pushed lintOptions though
klo ini error knp lg ya? :)
:app:transformResourcesWithMergeJavaResForDebug
:app:transformJackWithJackForDebug
/home/andri/Data/others/oy-test/OyTest/app/src/main/java/com/oy/test/activity/HomeActivity.java:7:8: The import android.util.Log is never used
/home/andri/Data/others/oy-test/OyTest/app/src/main/java/com/oy/test/activity/HomeActivity.java:24:8: The import com.google.android.gms.location.LocationServices is never used
/home/andri/Data/others/oy-test/OyTest/app/src/main/java/com/oy/test/activity/HomeActivity.java:25:8: The import com.google.android.gms.location.LocationSettingsStates is never used
/home/andri/Data/others/oy-test/OyTest/app/src/main/java/com/oy/test/OyTestApplication.java:10:8: The import io.realm cannot be resolved
/home/andri/Data/others/oy-test/OyTest/app/src/main/java/com/oy/test/OyTestApplication.java:28:9: Realm cannot be resolved
/home/andri/Data/others/oy-test/OyTest/app/src/main/java/com/oy/test/adapter/MerchantListAdapter.java:19:8: The import java.util.Locale is never used
/home/andri/Data/others/oy-test/OyTest/app/src/main/java/com/oy/test/adapter/MerchantListAdapter.java:30:21: The value of the field MerchantListAdapter.context is not used
/home/andri/Data/others/oy-test/OyTest/app/src/main/java/com/oy/test/adapter/MerchantListAdapter.java:34:22: The value of the field MerchantListAdapter.currentLocation is not used
/home/andri/Data/others/oy-test/OyTest/app/src/main/java/com/oy/test/network/MerchantService.java:6:8: The import java.util.List is never used
/home/andri/Data/others/oy-test/OyTest/app/src/main/java/com/oy/test/network/MerchantService.java:8:8: The import io.reactivex.Flowable is never used
/home/andri/Data/others/oy-test/OyTest/app/src/main/java/com/oy/test/model/Merchant.java:3:8: The import android.util.Log is never used
/home/andri/Data/others/oy-test/OyTest/app/src/main/java/com/oy/test/presenter/HomePresenter.java:4:8: The import android.util.Log is never used
/home/andri/Data/others/oy-test/OyTest/app/build/generated/source/apt/debug/com/oy/test/model/OperationalHour$$Parcelable.java:7:8: The import android.os.Parcelable.Creator is never used
/home/andri/Data/others/oy-test/OyTest/app/build/generated/source/apt/debug/com/oy/test/model/OperationalHour$$Parcelable.java:23:23: Unsupported @SuppressWarnings("UnusedDeclaration")
/home/andri/Data/others/oy-test/OyTest/app/build/generated/source/apt/debug/com/oy/test/model/MerchantList$$Parcelable.java:7:8: The import android.os.Parcelable.Creator is never used
/home/andri/Data/others/oy-test/OyTest/app/build/generated/source/apt/debug/com/oy/test/model/MerchantList$$Parcelable.java:23:23: Unsupported @SuppressWarnings("UnusedDeclaration")
/home/andri/Data/others/oy-test/OyTest/app/build/generated/source/apt/debug/com/oy/test/model/Merchant$$Parcelable.java:7:8: The import android.os.Parcelable.Creator is never used
/home/andri/Data/others/oy-test/OyTest/app/build/generated/source/apt/debug/com/oy/test/model/Merchant$$Parcelable.java:23:23: Unsupported @SuppressWarnings("UnusedDeclaration")
:app:transformJackWithJackForDebug FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformJackWithJackForDebug'.
> com.android.build.api.transform.TransformException: com.android.builder.core.JackToolchain$ToolchainException: Jack compilation exception
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Pake gradle version brp?
I am currently have this configuration on my AS and works fine: Gradle Version: 3.3 Android Plugin Version: 2.3.0
pake nya ./gradlew. harusnya itu langsung compile pake gradle wrapper yg ada di build.gradle
Bro, try open the project on Android Studio
Pas saya jalananin gradle build command line :
./gradlew clean build
kok dpt error gini ya ?