What is the Ignoring InnerClasses attribute warning output during compilation?
This is quite common when including jar files. Although the warning isn't anything to worry about if you are just using the API normally, you should be able to get rid of them by compiling ical4j yourself from source within Eclipse (either build a new jar, or just drop the source into your own source folder). Though I should stress that unless you actually get problems, this isn't something to worry about.
what is this warning: Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute
It is a common warning when including jar files.
Use below line in proguard to avoid warning
-keepattributes EnclosingMethod
android Dx warning: Ignoring InnerClasses attribute for an anonymous inner class jar file issue
Just fyi, this can also happen when compiling for java 1.7 and the library have been through proguard, adding this will solve the problem when compiling the library:
-keepattributes EnclosingMethod
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
I think this is your main problem
The number of method references in a .dex file cannot exceed 64K.
To solve this put the following lines in your app level gradle file.
Put this line in defaultConfig block
multiDexEnabled true
And add the following dependencies
compile 'com.android.support:multidex:1.0.1'
After this rebuild your project. Hopefully this should resolve your error.
And try avoiding + symbol while adding dependencies in your project as you are doing with play services dependencies
To remove OutOfMemory error add this inside your android block
in app level gradle file.
dexOptions {
//incremental true
javaMaxHeapSize "4g"
}
Related Topics
How to Programmatically Launch a Specific Application
Exif Orientation Tag Value Always 0 for Image Taken with Portrait Camera App Android
Get the Distance Between Two Locations in Android
How to Get the Selected Item from Listview
How to Remove a Contact Programmatically in Android
Custom Converter for Retrofit 2
Upgraded to Android Studio 3.4 - Aapt2Internalexception: Aapt2: Daemon Startup Failed
How to Set Up Screen Lock with a Password Programmatically
Fragment Replacing in Recyclerview Item
How to Draw Outside the Bounds of an Android Canvas
Android Replace the Current Fragment with Another Fragment
How to Check Internal and External Storage If Exist
Open Android App from Url Using Intent-Filter Not Working
Error Type 3: Activity Class {...} Does Not Exist
How to Take Multiple Photos Before Dismissing Camera Intent
Save State of Activity When Orientation Changes Android
How to Add -Xlint:Unchecked to My Android Gradle Based Project
Permission Denied (Missing Internet Permission): But Permission Is Given