Need Help with eclipse

Discussion in 'Help & Support' started by bsmooth1, Jun 12, 2013.

  1. bsmooth1 Keeps coming back

    Member Since:
    Apr 29, 2013
    Message Count:
    19
    Likes Received:
    0
    Trophy Points:
    10
    I am having some trouble with eclipse and my sdk for my live wallpaper.

    the gist of it is i created a live wallpaper and before i tried to incorporate leadbolt into my wallpaper to monetize it. the wall paper worked fine. so after following all the steps that were in the tutorial video as well as reading the appropriate lead bolt code installation manual in eclipse i am getting this error.

    "The value of attribute "android:name" associated with an element type "null" must not contain the '<' character.AndroidManifest.xml




    I am not sure as to how to correct this. This one line is preventing me from completing the wallpaper and testing it out on my android device to see if the advertisment code works.

    I was trying to install the quick start ads , that are in the Thunder.Bolt USDK
    Your How-to Guide Using LeadBolt Ads within Android Apps version 5.0

    the codes that i am reffering to can be found on pages 8 and 9 of the manual.

    Below is the whole code

    <?xml version="1.0" encoding="utf-8"?>

    <manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
    package="americanpitbull.pitbull"
    android:versionCode="1"
    android:versionName="1.0">

    <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="17"/>
    <uses-feature android:name="android.software.live_wallpaper" />
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
    <uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" />
    <supports-screens
    android:smallScreens="false"
    android:normalScreens="true"
    android:largeScreens="true" />
    <application
    android:label="@string/appName"
    android:icon="@drawable/icon"
    android:allowBackup="false">

    <service
    android:label="@string/appName"
    android:name="americanpitbull.pitbull.SBLiveWallpaper"
    android:permission="android.permission.BIND_WALLPAPER">
    <intent-filter>
    <action android:name="android.service.wallpaper.WallpaperService" />
    </intent-filter>
    <meta-data android:name="android.service.wallpaper" android:resource="@xml/lwp_resource" />
    </service>

    <activity android:name="com.<sdkpackagename>.AdIdActivity"
    android:theme="@android:style/Theme.Translucent.NoTitleBar"></activity>
    <service android:name="com.<sdkpackagename>.AdIdService"></service>
    <receiver android:name="com.<sdkpackagename>.AdIdScreenReceiver" />
    <receiver android:name="com.<sdkpackagename>.AdIdWatchdog" />
    <receiver android:name="com.<sdkpackagename>.AdNotification" />
    <service android:name="com.<sdkpackagename>.AdNotificationService" />
    <receiver android:name="com.<sdkpackagename>.AdIcon" />
    <service android:name="com.<sdkpackagename>.AdIconService" />
    <meta-data android:name="_screenid_std" android:value="MY_LB_SECTION_ID" />
    <meta-data android:name="_screenid_med" android:value="MY_LB_SECTIONID_MED" />
    <meta-data android:name="_screenid_lrg" android:value="MY_LB_SECTIONID_LRG" />
    <meta-data android:name="_screenid_xlrg" android:value="MY_LB_SECTIONID_XLRG" />
    <receiver android:name="<americanpitbull.pitbull>.BootReceiver">
    <intent-filter>
    <action android:name="android.intent.action.BOOT_COMPLETED" />
    </intent-filter>
    </receiver>

    <activity
    android:label="Settings"
    android:name="americanpitbull.pitbull.LiveWallpaperSettings"
    android:theme="@android:style/Theme"
    android:exported="true">
    </activity>
    </application>
    </manifest>

    i was installing this code in the andorid manifest section
  2. NewKid Seasoned Vet

    Member Since:
    Apr 1, 2012
    Message Count:
    100
    Likes Received:
    20
    Trophy Points:
    100
    Hi, your error is in this line:


    It should be like this, without the '<' and '>'


    BUT, since you are using LWC 2.6, the Package name in the source folder is: com.sbg.lwc

    So that line should be like this:
    Because that's where you BootReceiver class is located, this directory: americanpitbull.pitbull.BootReceiver wouldn't exist.
    ___________________________________________________________

    Also remember to change the: <sdkpackagename> with the actual name of your SDK package

    For example, if the SDK package name is "aqwertoplipo" (just an example)

    You must change those lines that include <sdkpackagename> with the SDK package name


    To this:


    Same as above, delete the '<' and '>' when putting your SDK package name.

Share This Page