Quantcast
Viewing all articles
Browse latest Browse all 8068

Error during build when using AdMob Module Android

I have been fighting this for a couple weeks now, Most of the research points to an issue when updating the SDK, and that I should copy all files from the Build-tools directory into the Platform-tools directory. I have done this.

Note this error is happening before any code is actually written using the module, this simply happens by including the module in the TIApp.xml

Still I get the following:

[ERROR] Error generating R.java from manifest
[ERROR] :  Build process exited with code 1
[ERROR] :  Project failed to build after 644ms
I am not sure what to do, the module works fine in iOS and does not cause any errors.

Here is the TIApp.xml (I have redacted any personal info)

<?xml version="1.0" encoding="UTF-8"?>
<ti:app xmlns:ti="http://ti.appcelerator.org">
    <id>XXX</id>
    <name>XXX</name>
    <version>1.0</version>
    <publisher>chrisadzima</publisher>
    <url>XXX</url>
    <description>not specified</description>
    <copyright>2013 by chrisadzima</copyright>
    <icon>appicon.png</icon>
    <persistent-wifi>false</persistent-wifi>
    <prerendered-icon>false</prerendered-icon>
    <statusbar-style>default</statusbar-style>
    <statusbar-hidden>false</statusbar-hidden>
    <fullscreen>false</fullscreen>
    <navbar-hidden>false</navbar-hidden>
    <analytics>true</analytics>
    <guid>ed41f33b-e0bf-4ebb-ac83-d7e795303527</guid>
    <property name="ti.ui.defaultunit" type="string">system</property>
    <iphone>
        <orientations device="iphone">
            <orientation>Ti.UI.LANDSCAPE_LEFT</orientation>
            <orientation>Ti.UI.LANDSCAPE_RIGHT</orientation>
        </orientations>
        <orientations device="ipad">
            <orientation>Ti.UI.LANDSCAPE_LEFT</orientation>
            <orientation>Ti.UI.LANDSCAPE_RIGHT</orientation>
        </orientations>
    </iphone>
    <android xmlns:android="http://schemas.android.com/apk/res/android">
        <manifest>
            <uses-permission android:name="android.permission.INTERNET"/>
            <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
            <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
            <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
        </manifest>
        <manifest android:installLocation="preferExternal"
            android:versionCode="1" android:versionName="1.0"/>
    </android>
    <mobileweb>
        <precache/>
        <splash>
            <enabled>true</enabled>
            <inline-css-images>true</inline-css-images>
        </splash>
        <theme>default</theme>
    </mobileweb>
    <modules>
        <module platform="iphone">com.revmob.titanium</module>
        <module platform="android">com.revmob.ti.android</module>
        <module platform="android">ti.admob</module>
        <module platform="iphone">ti.admob</module>
    </modules>
    <deployment-targets>
        <target device="blackberry">false</target>
        <target device="android">true</target>
        <target device="ipad">false</target>
        <target device="iphone">true</target>
        <target device="mobileweb">false</target>
        <target device="tizen">false</target>
    </deployment-targets>
    <sdk-version>3.1.0.GA</sdk-version>
</ti:app>

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>