1.gradlew compileDebug --stacktrace will display some specific error information
2.gradlew compileDebugJavaWithJavac will display some specific error information
3. adb shell Enter cat /system/build.prop | grep "product" to view information about the phone