Silly question (noob here) but the tag below in AndroidManifest.xml
doesnt work in IntelliJ. The开发者_如何学Go app compiles successfully but crashes on launch. This manifest file works fine in Eclipse. I added the googleadmob*.jar
file in the sdk part of the project structure settings.
<activity
android:name="com.google.ads.AdActivity"
...
</activity>
The problem is that you've added the jar to the SDK. It must be configured as a module library instead, refer to the documentation. In this case it will be packaged with your application, while SDK is not packaged as it's already available on the device.
If the class is still shown in red in the editor, try File
| Invalidate Caches
.
精彩评论