Skip to content

Commit

Permalink
Fix MoPub build errors (#13)
Browse files Browse the repository at this point in the history
Addresses #5
  • Loading branch information
rmloveland authored and anwzhang committed Aug 22, 2017
1 parent 6c06772 commit d2b2c1c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 4 additions & 1 deletion PrebidMobile/DemoApp/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.mopub.mobileads.RewardedMraidActivity" android:configChanges="keyboardHidden|orientation|screenSize"/>
<meta-data android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<activity android:name=".DemoActivity" />
<activity android:name=".FormatChoiceActivity"/>
<activity android:name="com.mopub.mobileads.MoPubActivity" android:configChanges="keyboardHidden|orientation|screenSize"/>
Expand All @@ -32,4 +35,4 @@
<activity android:name="com.mopub.mobileads.MraidVideoPlayerActivity" android:configChanges="keyboardHidden|orientation|screenSize"/>
</application>

</manifest>
</manifest>
8 changes: 6 additions & 2 deletions buildprebid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ buildToolsVersion '25.0.0'
defaultConfig {
applicationId 'org.prebid.mobile.demoapp'
minSdkVersion 14
minSdkVersion 16
targetSdkVersion 25
versionCode 1
versionName '1.0'
Expand All @@ -181,6 +181,11 @@ compile 'com.android.support:appcompat-v7:23.1.1'
// For aaid
compile 'com.google.android.gms:play-services-ads:9.2.1'
// From MoPub Android SDK docs
compile('com.mopub:mopub-sdk:4.15.0@aar') {
transitive = true
}
// Build from compiled libs
compile fileTree(dir: 'libs', include: ['*.jar'])
}
Expand Down Expand Up @@ -242,4 +247,3 @@ javadoc -d Javadoc -protected $FINAL_CLASSES>$LOGPATH/javadoc.log 2>&1 || die "B
#######
echoX "Please find Prebid Mobile product in $OUTDIR"
echoX "Build finished."

0 comments on commit d2b2c1c

Please sign in to comment.