How To Use Buildbox With Android Studio In Few Steps

Discussion in 'Technical Discussion' started by vallic, Jan 16, 2017.

  1. ZyzygyGames

    ZyzygyGames Avid Boxer

    Joined:
    Dec 8, 2016
    Messages:
    123
    Likes Received:
    13
    Hey, theres a problem.

    Error: (8, 26) error: package com.heyzap.sdk.ads does not exist
    Error: (9, 26) error: package com.heyzap.sdk.ads does not exist
    Error: (10, 26) error: package com.heyzap.sdk.ads does not exist
    Error: (11, 26) error: package com.heyzap.sdk.ads does not exist
    Error: (12, 36) error: package com.heyzap.sdk.ads.HeyzapAds does not exist
    Error: (13, 36) error: package com.heyzap.sdk.ads.HeyzapAds does not exist
    Error: (14, 36) error: package com.heyzap.sdk.ads.HeyzapAds does not exist
    Error: (15, 36) error: package com.heyzap.sdk.ads.HeyzapAds does not exist
    Error: (32, 18) error: cannot find symbol class BannerAdView
    Error: (52, 50) error: cannot find symbol class BannerAdView
    Error: (68, 66) error: cannot find symbol class BannerListener
    Error: (100, 42) error: cannot find symbol class OnStatusListener
    Error: (100, 3) error: cannot find symbol variable InterstitialAd
    Error: (163, 51) error: cannot find symbol class OnIncentiveResultListener
    Error: (163, 3) error: cannot find symbol variable IncentivizedAd
    Error: (182, 11) error: cannot find symbol variable IncentivizedAd
    Error: (194, 18) error: cannot find symbol variable IncentivizedAd
    Error: (195, 15) error: cannot find symbol variable IncentivizedAd
    Error: (207, 14) error: cannot find symbol variable HeyzapAds
    Error: (213, 50) error: cannot find symbol variable HeyzapAds
    Error: (227, 14) error: cannot find symbol variable InterstitialAd
    Error: (230, 11) error: cannot find symbol variable InterstitialAd
    Error: (268, 10) error: cannot find symbol variable IncentivizedAd
    Error:Execution failed for task ':app:compileReleaseJavaWithJavac'.
    > Compilation failed; see the compiler error output for details.
    Information:BUILD FAILED
    Information:Total time: 35.397 secs
    Information:24 errors
    Information:0 warnings
    Information:See complete output in console

    Im just trying to add the Tappx SDK but in Eclipse you cannot do this.
     
    Mr Goodcat likes this.
  2. mousik

    mousik Boxer

    Joined:
    Apr 1, 2017
    Messages:
    23
    Likes Received:
    1
  3. mserifitak

    mserifitak Boxer

    Joined:
    Jan 16, 2017
    Messages:
    9
    Likes Received:
    2
  4. Member_Game

    Member_Game Boxer

    Joined:
    Oct 8, 2015
    Messages:
    45
    Likes Received:
    7
    @vallic, thanks for this video. I can run my game on simulator but get a lot error when try to built in APK file, 26 errors.
     
    Last edited: May 1, 2017
  5. verzirock

    verzirock Boxer

    Joined:
    Apr 6, 2016
    Messages:
    1
    Likes Received:
    0
    The moment I import the project I get this message

    Error:Execution failed for task ':app:processDebugManifest'.
    > Manifest merger failed : uses-sdk:minSdkVersion 11 cannot be smaller than version 14 declared in library [com.google.android.gms:play-services:10.2.4] C:\Users\Adam\.android\build-cache\5013760fb5e455004bb02419b9a0f7bfdf916694\output\AndroidManifest.xml
    Suggestion: use tools:eek:verrideLibrary="com.google.android.gms.play_services" to force usage
    can anyone help with this?
     
  6. ThePurpleBeam

    ThePurpleBeam Boxer

    Joined:
    Apr 30, 2017
    Messages:
    13
    Likes Received:
    2
    Just change your SdkVersion 11 to 14.
     
    Mr Goodcat likes this.
  7. Mr Goodcat

    Mr Goodcat Boxer

    Joined:
    Jun 10, 2017
    Messages:
    98
    Likes Received:
    28
    Hi @ThePurpleBeam,

    Changing SdkVersion 11 to 14 does fix this error but seems to bring up a whole lot more....

    p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}

    Error:(2) Tag <manifest> attribute package has invalid character ' '.

    Error:(28) Tag <permission> attribute name has invalid character ' '.

    Error:(32) Tag <uses-permission> attribute name has invalid character ' '.

    Error:(235) Tag <category> attribute name has invalid character ' '.

    Error:(257) Tag <provider> attribute authorities has invalid character ' '.

    Error:(2) Tag <manifest> attribute package has invalid character ' '.

    Error:(28) Tag <permission> attribute name has invalid character ' '.

    Error:(32) Tag <uses-permission> attribute name has invalid character ' '.

    Error:(235) Tag <category> attribute name has invalid character ' '.

    Error:(257) Tag <provider> attribute authorities has invalid character ' '.

    Error:Execution failed for task ':app:processDebugResources'.

    > com.android.ide.common.process.ProcessException: Failed to execute aapt
     
  8. Mr Goodcat

    Mr Goodcat Boxer

    Joined:
    Jun 10, 2017
    Messages:
    98
    Likes Received:
    28
    Never mind....ID was incorrect!
     
  9. Mr Goodcat

    Mr Goodcat Boxer

    Joined:
    Jun 10, 2017
    Messages:
    98
    Likes Received:
    28
    Did you manage to solve this?
     
  10. ibrahimox

    ibrahimox Boxer

    Joined:
    Nov 11, 2017
    Messages:
    4
    Likes Received:
    0
    did you find the solution to this problem ! ik have it too
     
  11. whencut999

    whencut999 Boxer

    Joined:
    Jan 30, 2018
    Messages:
    2
    Likes Received:
    1
    Error:Could not resolve all files for configuration ':app:debugAndroidTestRuntimeClasspath'.
    > Failed to transform file 'dagger-1.2.2.jar' to match attributes {artifactType=android-classes} using transform JarTransform
    > Transform output file C:\Users\Windows\Desktop\Helicopter\android\app\libs\dagger-1.2.2.jar does not exist.
    > Failed to transform file 'support-v4-19.0.1.jar' to match attributes {artifactType=android-classes} using transform JarTransform
    > Transform output file C:\Users\Windows\Desktop\Helicopter\android\app\libs\support-v4-19.0.1.jar does not exist.


    i get these errors if i follow your tutorial
     
  12. jcalle

    jcalle Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,192
    Likes Received:
    540
    Hello, the Post is very old.
    Try updating to BB 2.3.2, try again with Android Studio.
    For BB 2.3.2 Java SDK 1.8 is required
     
  13. RichieBoy

    RichieBoy Boxer

    Joined:
    Oct 20, 2018
    Messages:
    4
    Likes Received:
    2
    Is there an updated guide for Buildbox to Android studio with the latest versions please? All those I have found are either outdated or don't work correctly.
     
    nyamuk91 and Maylock like this.
  14. yogeshamana

    yogeshamana Boxer

    Joined:
    Oct 6, 2016
    Messages:
    2
    Likes Received:
    0
    I have this error when build app plz help =
    Program type already present: android.support.v4.app.ActionBarDrawerToggle$Delegate

    android manifest-
    <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.yogesh.amana7Chakra"
    android:versionCode="5"
    android:versionName="1.5">



    <application android:label="@string/app_name"
    android:icon="@drawable/icon"
    android:name="android.support.multidex.MultiDexApplication"
    android:allowBackup="true"
    tools:ignore="GoogleAppIndexingWarning">

    <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"/>
    --><!-- FACEBOOK SDK -->
    <!-- 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" />
    <activity
    android:name="comvungle.publisher.FullScreenAdActivity"
    android:configChanges="keyboardHidden|orientation|screenSize"
    android:theme="@android:style/Theme.NoTitleBar.Fullscreen"/>
    <!-- ADMOB -->
    <!-- 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"
    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>
    --><!-- HEYZAP -->

    <!-- APPLOVIN SDK --><!--
    <activity android:name="com.applovin.adview.AppLovinInterstitialActivity" />
    <activity android:name="com.applovin.adview.AppLovinConfirmationActivity" />
    <meta-data
    android:name="applovin.sdk.key"
    android:value="{{AppLovin_SDK_key}}" />
    --><!-- APPLOVIN SDK -->
    <!-- REVMOB --><!--
    <activity android:name="com.revmob.FullscreenActivity"
    android:theme="@android:style/Theme.Translucent"
    android:configChanges="keyboardHidden|orientation">
    </activity>
    <meta-data android:name="com.revmob.app.id" android:value="{{RevMobMediaID}}"/>
    --><!-- REVMOB -->
    </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="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>
    ------------------------------------------
    build gredel module is -
    apply plugin: 'com.android.application'
    android {
    compileSdkVersion 26
    buildToolsVersion "28.0.3"
    defaultConfig {
    applicationId "com.yogesh.amana7Chakra"
    minSdkVersion 14
    targetSdkVersion 26
    multiDexEnabled true
    ndk {
    moduleName "player_shared"
    }
    }

    buildTypes {
    release {
    minifyEnabled false
    shrinkResources false
    proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
    }
    }
    sourceSets.main {
    jni.srcDirs = []// <-- disable automatic ndk-build call
    }
    }

    dependencies {
    compile ('com.google.android.gms:play-services:+'){exclude module: 'support-v4'}
    compile files('libs/dagger-1.2.2.jar')
    compile files('libs/javax.inject-1.jar')
    compile files('libs/nineoldandroids-2.4.0.jar')
    compile files('libs/support-v4-19.0.1.jar')
    compile ('com.android.support:multidex:1.0.1')

    }
     
  15. nyamuk91

    nyamuk91 Boxer

    Joined:
    Aug 15, 2018
    Messages:
    95
    Likes Received:
    20
    I got this error message: "dagger-1.2.2.jar does not exist." Any solution for this?
     

Share This Page