Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Enterprise build error
Started by MochiBits Aug 05 2013 05:32 PM

2 replies to this topic
vungle enterprise
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

MochiBits

[GLOBAL: userInfoPane.html]
MochiBits
  • Contributor

  • 134 posts
  • Enterprise

I'm seeing this error compiling with Enterprise, but everything works building with the Simulator.

 

I have VunglePub.jar and vungle-android-corona-1.0.0.jar in the libs directory.

 

[dx] warning: Ignoring InnerClasses attribute for an anonymous inner class
[dx] (com.vungle.sdk.aa) that doesn't come with an
[dx] associated EnclosingMethod attribute. This class was probably produced by a
[dx] compiler that did not target the modern .class file format. The recommended
[dx] solution is to recompile the class from source, using an up-to-date compiler
[dx] and without specifying any "-target" type options. The consequence of ignoring
[dx] this warning is that reflective operations on this class will incorrectly
[dx] indicate that it is *not* an inner class.
...
... (lots more like these errors)
[dx] warning: Ignoring InnerClasses attribute for an anonymous inner class
[dx] (com.vungle.sdk.z) that doesn't come with an
[dx] associated EnclosingMethod attribute. This class was probably produced by a
[dx] compiler that did not target the modern .class file format. The recommended
[dx] solution is to recompile the class from source, using an up-to-date compiler
[dx] and without specifying any "-target" type options. The consequence of ignoring
[dx] this warning is that reflective operations on this class will incorrectly
[dx] indicate that it is *not* an inner class.

 
 

 



[TOPIC: post.html]
#2

MochiBits

[GLOBAL: userInfoPane.html]
MochiBits
  • Contributor

  • 134 posts
  • Enterprise

It appears I dont have to include the VunglePub.jar



[TOPIC: post.html]
#3

MochiBits

[GLOBAL: userInfoPane.html]
MochiBits
  • Contributor

  • 134 posts
  • Enterprise

Also, I guess I should do what the Vungle docs say.

 

Added these the the appropriate places in the AndroidManifest.xml and everything works now.

 

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<activity
    android:name="com.vungle.sdk.VungleAdvert"
    android:configChanges="keyboardHidden|orientation|screenSize"
    android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
/>



[topic_controls]
[/topic_controls]