Skip to content
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

Closed
alexblack opened this issue Jun 27, 2016 · 8 comments
Closed

5840 error(s) #33

alexblack opened this issue Jun 27, 2016 · 8 comments

Comments

@alexblack
Copy link

alexblack commented Jun 27, 2016

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":[{}]}

@kenargo
Copy link

kenargo commented Jun 27, 2016

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]
Sent: Monday, June 27, 2016 1:27 PM
To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com
Subject: [dji-sdk/Mobile-SDK-Android] 5840 error(s) (#33)

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
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":[{}]}


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub #33 , or mute the thread https://github.com/notifications/unsubscribe/AM7-OI9uOXbjl_kkpC9FYzt_o9M2N71bks5qQDIXgaJpZM4I_eVi . https://github.com/notifications/beacon/AM7-OFetgn1c1LAJF97bfj5ZM8n67rW_ks5qQDIXgaJpZM4I_eVi.gif

@alexblack
Copy link
Author

Fixed the link. Yes, I have put a license key in the AndroidManifest.xml file.

@kenargo
Copy link

kenargo commented Jun 27, 2016

What is the link? The email clipped the URL.

From: Alex Black [mailto:notifications@github.com]
Sent: Monday, June 27, 2016 1:41 PM
To: dji-sdk/Mobile-SDK-Android Mobile-SDK-Android@noreply.github.com
Cc: ken argo donotreply@kenargo.com; Comment comment@noreply.github.com
Subject: Re: [dji-sdk/Mobile-SDK-Android] 5840 error(s) (#33)

Fixed the link. Yes, I have put a license key in the AndroidManifest.xml file.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub #33 (comment) , or mute the thread https://github.com/notifications/unsubscribe/AM7-OGKCa8be4hzosTnjNIwAOOSpExohks5qQDVjgaJpZM4I_eVi . https://github.com/notifications/beacon/AM7-OOsIyel7jWm-xJrYdkcziGhnuuzaks5qQDVjgaJpZM4I_eVi.gif

@alexblack
Copy link
Author

@SilverChangjian
Copy link

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.

@arstk8
Copy link

arstk8 commented Dec 9, 2016

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.

@xxmaestroxx
Copy link

Hey DJI,

what is the status of this issue?

Regards
Maestro

@talobin
Copy link
Contributor

talobin commented Oct 17, 2017

Will go ahead and close this issue since it has been a long time.
@alexblack Please help to create a separate issue if you still have problem with current version SDK 4.3.2
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants