Eclipse Compiling Error

Discussion in 'How Can I...?' started by thomasburgess2000, Nov 15, 2015.

  1. darren

    darren Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    134
    Likes Received:
    58
    Thanks Andy...question, it looks like the default lowest API Buildbox supports is 10 on the manifest...is this correct?

    <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="21"/>

    I suppose it's safe to change the minSdkVersion to a higher number like 15 if you didn't want to try and support certain older hardware...correct?

    [​IMG]
     
  2. Andy

    Andy Miniboss Boxer

    Joined:
    Sep 24, 2015
    Messages:
    2,152
    Likes Received:
    1,546
    Yes should be fine, for the next release we are moving to API 11 being the minimum. Less than 5% of devices are using Android 2.x or earlier and it is more of a hinderance at this point to support it.
     
    darren likes this.
  3. darren

    darren Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    134
    Likes Received:
    58
    Sounds good Andy.

    Hey, I'm creating a paid Android app with no ads AND no IAP and I'm wondering about the Manifest. If I export a blank BB file to Android there are a ton of activities (Applovin, heyzap, rev mob, mopub, play haven, vungle...and i use no advertising). Could this affect performance? Can I delete them? Also the permissions seem a little aggressive for an app with no ads and no iap.

    Here is a manifest from a blank bb android export:

    <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.companyname.gamename"
    android:versionCode="0"
    android:versionName="1.0">

    <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="21"/>

    <application android:label="@string/app_name"
    android:icon="@drawable/icon"
    android:allowBackup="true">

    <meta-data android:name="com.google.android.gms.version"
    android:value="@integer/google_play_services_version" />
    <meta-data android:name="com.google.android.gms.games.APP_ID"
    android:value="@string/app_id" />

    <activity android:name=".PTPlayer"
    android:label="@string/app_name"
    android:screenOrientation="portrait"
    android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
    android:configChanges="orientation">
    <intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
    </activity>

    <!-- FACEBOOK SDK -->
    <activity android:name="com.facebook.ads.InterstitialAdActivity"
    android:configChanges="keyboardHidden|orientation"
    android:screenOrientation="portrait"/>
    <!-- TODO make portrait and landscape orientation based on game setting -->
    <!-- FACEBOOK SDK -->

    <!-- APPLOVIN SDK -->
    <activity android:name="com.applovin.adview.AppLovinInterstitialActivity" />
    <activity android:name="com.applovin.adview.AppLovinConfirmationActivity" />
    <!-- APPLOVIN SDK -->

    <!-- HEYZAP -->
    <activity android:name="com.heyzap.sdk.ads.HeyzapInterstitialActivity" android:configChanges="keyboardHidden|orientation|screenSize|smallestScreenSize" />
    <activity android:name="com.heyzap.sdk.ads.HeyzapVideoActivity" android:configChanges="keyboardHidden|orientation|screenSize|smallestScreenSize" />
    <activity android:name="com.heyzap.sdk.ads.HeyzapProxyActivity" />
    <activity android:name="com.heyzap.sdk.ads.VASTActivity" />
    <receiver android:name="com.heyzap.sdk.ads.PackageAddedReceiver">
    <intent-filter>
    <data android:scheme="package"/>
    <action android:name="android.intent.action.PACKAGE_ADDED"/>
    </intent-filter>
    </receiver>
    <!-- HEYZAP -->

    <activity android:name="com.revmob.ads.fullscreen.FullscreenActivity"
    android:theme="@android:style/Theme.Translucent"
    android:configChanges="keyboardHidden|orientation">
    </activity>

    <activity android:name="com.mopub.mobileads.MoPubActivity" android:configChanges="keyboardHidden|orientation"/>
    <activity android:name="com.mopub.mobileads.MraidActivity" android:configChanges="keyboardHidden|orientation"/>
    <activity android:name="com.mopub.mobileads.MraidBrowser" android:configChanges="keyboardHidden|orientation"/>
    <activity android:name="com.mopub.common.MoPubBrowser" android:configChanges="keyboardHidden|orientation"/>
    <activity android:name="com.mopub.mobileads.MraidVideoPlayerActivity" android:configChanges="keyboardHidden|orientation"/>

    <activity android:name="com.google.android.gms.ads.AdActivity"
    android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
    android:theme="@android:style/Theme.Translucent" />

    <activity
    android:name="com.vungle.publisher.FullScreenAdActivity"
    android:configChanges="keyboardHidden|orientation|screenSize"
    android:theme="@android:style/Theme.NoTitleBar.Fullscreen"/>

    <service android:name="com.vungle.publisher.VungleService"
    android:exported="false"/>

    <!-- PlayHaven Activity and Receiver -->
    <activity android:configChanges="orientation|keyboardHidden|screenSize" android:name="com.playhaven.android.view.FullScreen" android:theme="@android:style/Theme.Translucent.NoTitleBar" android:windowSoftInputMode="adjustResize">
    <!-- Support FullScreen.createIntent -->
    <intent-filter>
    <action android:name="android.intent.action.VIEW"/>
    <category android:name="android.intent.category.DEFAULT"/>
    </intent-filter>
    <!-- Support Uri.parse -->
    <intent-filter>
    <action android:name="android.intent.action.VIEW"/>
    <category android:name="android.intent.category.DEFAULT"/>
    <data android:host="localhost" android:pathPattern="/full" android:scheme="playhaven"/>
    </intent-filter>
    </activity>
    <receiver android:name="com.playhaven.android.push.PushReceiver">
    <intent-filter>
    <action android:name="android.intent.action.VIEW"/>
    <category android:name="com.playhaven.android"/>
    </intent-filter>
    </receiver>

    </application>

    <supports-screens android:largeScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"
    android:normalScreens="true"/>

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="com.android.vending.BILLING" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE"/>

    </manifest>
     
  4. Andy

    Andy Miniboss Boxer

    Joined:
    Sep 24, 2015
    Messages:
    2,152
    Likes Received:
    1,546
    Yes, it's generally no issue if you remove some of the advertising sections (or certain permissions). You do need to know what you are doing enough so that you don't make the XML itself invalid.
     
    darren likes this.
  5. namitasain1101

    namitasain1101 Boxer

    Joined:
    Dec 17, 2015
    Messages:
    8
    Likes Received:
    0
    Hello Guys i am new in bbox ................ I have developed a game with bbox. When i am exporting my game with eclipse i am getting error.
    Operating system :- widows 7
    Java sdk :-jdk7
    Eclipse with 21 Android sdk
    I have attached a image of error that i am getting please let me no what problem is there . img-1.png
     
  6. Taimoor Javaid

    Taimoor Javaid Avid Boxer

    Joined:
    Oct 5, 2015
    Messages:
    274
    Likes Received:
    211
  7. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    Na user keeps posting same question in different threads like about 10 within 2-3 mins :(
     
  8. Taimoor Javaid

    Taimoor Javaid Avid Boxer

    Joined:
    Oct 5, 2015
    Messages:
    274
    Likes Received:
    211
    @sysads Maybe because of not able to find the satisfactory answer is the reason of his multiple same post, anyway what is your problem @namitasain1101 ? it look like you use some special characters in your game name or used reserved keywords of java.
     
    Taimoormalik8 likes this.
  9. namitasain1101

    namitasain1101 Boxer

    Joined:
    Dec 17, 2015
    Messages:
    8
    Likes Received:
    0
    thank you for replying taimoorjavaid45 . thank you again i fixed the error thank you so much.........
     
  10. namitasain1101

    namitasain1101 Boxer

    Joined:
    Dec 17, 2015
    Messages:
    8
    Likes Received:
    0
    i am apologized my mistake i am sorry ....................................
     

Share This Page