Programing/Debugging(59)
-
Getting Gradle error “Could not reserve enough space for object heap”
https://services.gradle.org/distributions/ Right click on start-button and open "System"Go to Advanced system settings on the left sideClick the button "Environment Variables ..."In System Variables, click "New..."New Variable Name: _JAVA_OPTIONSNew Variable Value: -Xmx1024MClick OKRestart Window Command or Program Gradle will detect this option as below._JAVA_OPTIONS=-Xmx1024M
2016.09.15 -
Google In-App billing, IllegalArgumentException: Service Intent must be explicit, after upgrading to Android L
[Before] bindService(new Intent("com.android.vending.billing.InAppBillingService.BIND"), mServiceConn, Context.BIND_AUTO_CREATE); [After] Intent intent = new Intent("com.android.vending.billing.InAppBillingService.BIND"); intent.setPackage("com.android.vending"); bindService(intent, mServiceConn, Context.BIND_AUTO_CREATE);
2016.08.31 -
AndroidStudio - com.android.library unsupported major.minor version 52.0
Configure > Project Defaults > Project Structure SDK Location > JDK Location > Set JAVA JDK upper 1.8 version
2016.05.25 -
Android SDK - SSLPeerUnverified peer not authenticated
Fetching https://dl.google.com/android/repository/addons_list-2.xmlValidate XMLParse XMLFetched Add-ons List successfullyFetching URL: https://dl.google.com/android/repository/repository-11.xmlFailed to fetch URL https://dl.google.com/android/repository/repository-11.xml, reason: SSLPeerUnverified peer not authenticatedFetching URL: https://dl.google.com/android/repository/addon.xmlFailed to fet..
2016.05.25 -
java.lang.InstantiationException: can't instantiate class Activity
[Issue] 07-28 20:57:29.342 2159-2159/com.victor.travelassistant E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: com.victor.travelassistant, PID: 2159 java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.victor.travelassistant/com.victor.travelassistant.MainActivity}: java.lang.InstantiationException: can't instantiate class com.victor.travelassistant.MainActivity at andr..
2015.07.28 -
"Loading data for Android 5.0" has encountered a problem. - Parsing Data for android-21 failed
[Problem]"Loading data for Android 5.0" has encountered a problem.Parsing Data for android-21 failed unsupported major.minor version 51.0 [Solution] Change the environmental path to point 1.7/1.8Open Eclipse and goto windows tab-> preferenceGoto Java->complier and set Compiler compliance level to 1.7 and press apply.Then Goto Installed JRE Section. check if the installed jdk is listed and select..
2015.07.10