-
Notifications
You must be signed in to change notification settings - Fork 581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5840 error(s) #33
Comments
The link doesn’t work. Did you follow the instructions on how to obtain and add an SDK license code into the app? From: Alex Black [mailto:notifications@github.com] Hi, I'm just getting started with the Android Mobile SDK, I cloned it from the repo, and I'm trying to build the sample app. I'm using Android Studio 2.1.2, and gradle plugin 2.1.2. I get this message when I build: 1:18:30 PM Gradle build finished with 5840 error(s) in 3m 16s 855ms You can see the full build output here: https://gist.github.com/alexblac ... 13df886a26a25e7206f AGPBI: {"kind":"error","text":"warning: Ignoring InnerClasses attribute for an anonymous inner class","sources":[{}]} — |
Fixed the link. Yes, I have put a license key in the AndroidManifest.xml file. |
What is the link? The email clipped the URL. From: Alex Black [mailto:notifications@github.com] Fixed the link. Yes, I have put a license key in the AndroidManifest.xml file. — |
Thanks for reporting the bugs, we will investigate the problem and provide feedback in this issue page. It seems to be the SDK contains a lot of inner classes caused this problem. |
I'm also seeing very similar errors (except I have 12059 errors). I'm using the DJI Android Mobile SDK 3.4.1 with Android Studio 2.2.2 on OSX. I've tried tweaking my proguard rules, but no luck so far. |
Hey DJI, what is the status of this issue? Regards |
Will go ahead and close this issue since it has been a long time. |
Hi, I'm just getting started with the Android Mobile SDK, I cloned it from the repo, and I'm trying to build the sample app. I'm using Android Studio 2.1.2, and gradle plugin 2.1.2.
I get this message when I build:
1:18:30 PM Gradle build finished with 5840 error(s) in 3m 16s 855ms
You can see the full build output here: https://gist.github.com/alexblack/70a2414a4ce6013df886a26a25e7206f
Here is a sample of some errors, how do I fix this?
AGPBI: {"kind":"error","text":"warning: Ignoring InnerClasses attribute for an anonymous inner class","sources":[{}]}
AGPBI: {"kind":"error","text":"(org.bouncycastle.asn1.ASN1InputStream$1) that doesn\u0027t come with an","sources":[{}]}
AGPBI: {"kind":"error","text":"associated EnclosingMethod attribute. This class was probably produced by a","sources":[{}]}
AGPBI: {"kind":"error","text":"compiler that did not target the modern .class file format. The recommended","sources":[{}]}
AGPBI: {"kind":"error","text":"solution is to recompile the class from source, using an up-to-date compiler","sources":[{}]}
AGPBI: {"kind":"error","text":"and without specifying any "-target" type options. The consequence of ignoring","sources":[{}]}
AGPBI: {"kind":"error","text":"this warning is that reflective operations on this class will incorrectly","sources":[{}]}
AGPBI: {"kind":"error","text":"indicate that it is not an inner class.","sources":[{}]}
AGPBI: {"kind":"error","text":"warning: Ignoring InnerClasses attribute for an anonymous inner class","sources":[{}]}
The text was updated successfully, but these errors were encountered: