Problem With Buildbox 2.3 Android Eclipse Export Using Heyzap

Discussion in 'Technical Discussion' started by sir_freddy, Dec 17, 2017.

  1. sir_freddy

    sir_freddy Boxer

    Joined:
    Apr 24, 2017
    Messages:
    39
    Likes Received:
    10
    Hello,
    I was using BB 2.2.9 for my game but somehow my file opened in 2.3 and I did not realize that till I already saved my file. Now the file is not compatible with BB 2.2.9 and my last backup is from 2 days ago (too much work to go back to that step) - awesome :)

    For my 1.0 release in the Play Store I used this tutorial on how to export your game to eclipse using heyzap: https://www.buildbox.com/forum/inde...ediation-sdk-9-android-eclipse-tutorial.4037/

    With 2.2.9 everything worked fine and BB exported the files like this: upload_2017-12-17_14-9-41.png
    But now with 2.3 the export looks like this: upload_2017-12-17_14-10-18.png

    I followed all steps from the tutorial but my app just wont work. Eclipse does not show me any errors but when I try to run the app it just crashes (Cant see any errors).

    In case this helps, my androidManifest.xml looks like this:
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.siriusmobilegames.colorrun"
        android:versionCode="1"
        android:versionName="1.0.1" android:installLocation="auto">
    
        <uses-sdk android:minSdkVersion="11" android:targetSdkVersion="26"/>
    
        <application 
            android:hardwareAccelerated="true"
            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>
           
            <!-- Google Play Services -->
            <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/>
            <!-- AdMob -->
            <activity android:name="com.google.android.gms.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" android:theme="@android:style/Theme.Translucent" />
            
            <!-- Chartboost -->
            <activity android:name="com.chartboost.sdk.CBImpressionActivity"
              android:excludeFromRecents="true"
              android:hardwareAccelerated="true"
              android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"
              android:configChanges="keyboardHidden|orientation|screenSize" />
            
            <!-- Heyzap Ad Network -->
            <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" android:configChanges="keyboardHidden|orientation|screenSize|smallestScreenSize" />
            <activity android:name="com.heyzap.sdk.ads.MediationTestActivity" />
            <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>
    
        </application>
    
        <supports-screens android:largeScreens="true"
            android:smallScreens="true"
            android:anyDensity="true"
            android:normalScreens="true"/>
    
        <!-- Required by AdMob, Chartboost, and Heyzap Ad Network -->
        <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
        
        <!-- Required by AdMob, Chartboost, and Heyzap Ad Network -->
        <uses-permission android:name="android.permission.INTERNET" />
       
       
        <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    
        <!-- Optionally used by Chartboost -->
        <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
        
        <!-- Optionally used by Chartboost -->
        <uses-permission android:name="android.permission.READ_PHONE_STATE" />
        
        <!-- Optionally used by Chartboost -->
        <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    
    </manifest>
    
    
    Thanks for any help!
     

    Attached Files:

  2. sir_freddy

    sir_freddy Boxer

    Joined:
    Apr 24, 2017
    Messages:
    39
    Likes Received:
    10
    I tested a little more and I think its a minor fix that I am missing. I imported a new BB example project with no ads and my app crashes as well.
    On 2.2.9 you had to add this "sdk.buildtools=25.0.3" to the project.properties file and then everything worked (as long as you downloaded the sdks) but in 2.3 this is not working.
     
  3. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,808
    Likes Received:
    2,308
    Are you using amazon export? That’s the only one that works with eclipse. If you export with Android export option you need to use Android Studio instead.
     
    Phoebe likes this.
  4. Phoebe

    Phoebe Serious Boxer

    Joined:
    Aug 9, 2016
    Messages:
    667
    Likes Received:
    390
    Or wait of the Hotfix 1-6 month ;)
     
  5. sir_freddy

    sir_freddy Boxer

    Joined:
    Apr 24, 2017
    Messages:
    39
    Likes Received:
    10
    Amazon export finally worked for me thanks!
    Buildbox drives me crazy sometimes. It is so expensiv (I even bought Mastercollection 2.0) i dont think there is any room for bugs like this. Ive been struggling with their stupid bugs all day and also had a lot of errors on IOS
     
    Christoph and Phoebe like this.
  6. rechris2

    rechris2 Boxer

    Joined:
    Oct 8, 2015
    Messages:
    57
    Likes Received:
    7
    But in the setting amazon are diferent, take a llok on my attachment:
     

    Attached Files:

  7. patostar

    patostar Avid Boxer

    Joined:
    Jan 27, 2018
    Messages:
    450
    Likes Received:
    78
    Yes you are right if we export to amazon we can import it into eclipse, but the problem is that it doesn't support admob ads :/
     

Share This Page