Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
IMarketBillingService cannot be resolved to a type — Gideros Forum

IMarketBillingService cannot be resolved to a type

ArtLeeAppsArtLeeApps Member
edited July 2013 in General questions
Hi,

Exported Gideros to Eclipse.
imported project.
- had an error "no properties file..etc" even though there was, fixed that by setting the Build target to a lower Android version, then back up to 4.2.2

But now i have an error in the SRC:
com.giderosmobile.android.plugins.googlebilling

"IMarketBillingService cannot be resolved to a type"

At this stage i have only imported the project havent attempted to add billing to it...

Comments

  • ar2rsawseenar2rsawseen Maintainer
    edited July 2013
    @ArtLeeApps yes so make sure that you really have set up Android 4.2.2 inside (Right click on the project -> Properties -> Android) and if you did, try cleaning the project ;) Top menu -> Project-> Clean -> check your project -> Ok)


  • @ar2rsawseen, ok i did clean it a few times, but, then i did an update check on the SDK, restarted Eclipse and the phone. and now its clean. :))

    I got fired up thinking this is going to finally run and then...
    THe SDK says building and starting the activity.........

    * The Phone shows the "Gideros Mobile" splash screen then goes back to the phones icon list.


    * Then the this in the LogCat on the SDK. (Btw, do you ever find time to sleep ?)
    -----


    07-06 00:19:55.455: V/WindowManager(1387): Starting animation in AppWindowToken{408ef720 token=HistoryRecord{4093b018 com.htc.launcher/.Launcher}} @ 697071
    07-06 00:19:55.455: V/WindowManager(1387): Finished animation in AppWindowToken{408ef720 token=HistoryRecord{4093b018 com.htc.launcher/.Launcher}} @ 697071
    07-06 00:19:55.455: V/WindowManager(1387): Starting animation in AppWindowToken{40c07670 token=HistoryRecord{40ee0998 com.artleeapps.bubbleadventurecolors/com.giderosmobile.android.BubbleAdventureColorsActivity}} @ 697071
    07-06 00:19:55.475: D/ActivityManager(1387): destroyActivityLocked, r=HistoryRecord{40ee0998 com.artleeapps.bubbleadventurecolors/com.giderosmobile.android.BubbleAdventureColorsActivity}
    07-06 00:19:55.475: V/ActivityManager(1387): destroyActivityLocked, dalvik.system.VMStack.getThreadStackTrace(Native Method)
    07-06 00:19:55.475: V/ActivityManager(1387): destroyActivityLocked, java.lang.Thread.getStackTrace(Thread.java:745)
    07-06 00:19:55.475: V/ActivityManager(1387): destroyActivityLocked, com.android.server.am.ActivityStack.destroyActivityLocked(ActivityStack.java:3332)
    07-06 00:19:55.475: V/ActivityManager(1387): destroyActivityLocked, com.android.server.am.ActivityStack.finishCurrentActivityLocked(ActivityStack.java:3230)
    07-06 00:19:55.475: V/ActivityManager(1387): destroyActivityLocked, com.android.server.am.ActivityStack.finishCurrentActivityLocked(ActivityStack.java:3191)
    07-06 00:19:55.475: V/ActivityManager(1387): destroyActivityLocked, com.android.server.am.ActivityStack.activityIdleInternal(ActivityStack.java:2998)
    07-06 00:19:55.475: V/ActivityManager(1387): destroyActivityLocked, com.android.server.am.ActivityManagerService.activityIdle(ActivityManagerService.java:4410)
    07-06 00:19:55.475: V/ActivityManager(1387): destroyActivityLocked, android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:371)
    07-06 00:19:55.475: V/ActivityManager(1387): destroyActivityLocked, com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1642)
    07-06 00:19:55.475: V/ActivityManager(1387): destroyActivityLocked, android.os.Binder.execTransact(Binder.java:320)
    07-06 00:19:55.475: V/ActivityManager(1387): destroyActivityLocked, dalvik.system.NativeStart.run(Native Method)
    07-06 00:19:55.575: D/WindowManagerImpl(4063): finishRemoveViewLocked, mViews[0]: com.android.internal.policy.impl.PhoneWindow$DecorView@40518548
    07-06 00:19:55.765: V/WindowManager(1387): Finished animation in AppWindowToken{40c07670 token=HistoryRecord{40ee0998 com.artleeapps.bubbleadventurecolors/com.giderosmobile.android.BubbleAdventureColorsActivity}} @ 697394
  • ar2rsawseenar2rsawseen Maintainer
    @ArtLeeApps sorry but can't get anything from this log, it loads and then destroys.

    Any other logcat with red errors? :)
  • :-bd :-bd


    1) I found i had exported to a directory eg ..DEPLOYMENTS\GAME, then did another export to the GAME folder, creating ..DEPLOYMENTS\GAME\GAME..
    2) I deleted the exported projects and started from scratch.
    3) This time i had no build errors in Eclipse.
    4) I ran it and found it did the same thing, it would show the Gideros splash, then close. The error is below.
    Two of the Audio files did not come across to the exported project.
    so I copied them manually to the Eclipse project.

    Then the app ran on the Phone as an APK :) ..... so relived !

    Would this be a bug in exporting ?, or would it be something like the format of the Wav file was not standard, im fairly sure those ones were ones i chopped up using Audacity.
     
    07-07 00:37:47.743: D/Gideros(18600): *AudioBinder::Sound_create* stack NOT ok begin:1 end:4 delta:1
    07-07 00:37:47.743: D/Gideros(18600): *callFile* stack NOT ok begin:1 end:4 delta:-1
    07-07 00:37:47.743: D/Gideros(18600): audio/artleesplash.wav: No such file or directory.
    07-07 00:37:47.743: D/Gideros(18600): stack traceback:
    07-07 00:37:47.743: D/Gideros(18600): 	C:/Gideros_Development/Deployments/Bubble-Adventure-Colors/assets/assets/main.lua.jet:193: in main chunk
  • atilimatilim Maintainer
    android's file system is case-sensitive. therefore can you check your project about audio/artleesplash.wav. (for example, it may be added as audio/artleesplash.WAV or something like that)
  • @atilim,

    -the files are all in lowercase.
    -looking at the files listed in Gideros Studio, its lower case.
    -The exported directory from Gideros is missing the 2 files, under "C:\Gideros_Development\Deployments\Bubble-Adventure-Colors\assets\assets\audio"
    -opening them in Audacity they have similar properties to another wav that was exported. eg. "mono, 32 bit Float, 44100hz ".

  • Just curious, so i deleted the Eclipse project again.
    - opened the 2 wav files and exported them as "WAV (Microsoft) signed 16bit PCM" (as i saw another post saying this was the best format.) in lowercase "artleesplash.wav". The files still did not export.

    - Also noted, why i had a previous problem. If you have Gideros Studio open when you import into eclipse. Eclipse will say there is no properties file. (ill know for next time)
  • ar2rsawseenar2rsawseen Maintainer
    hmm have never experienced that, I always leave Gideros Studio open when importing in Eclipse.
    Can you check allfiles.txt in your assets folder, are sounds mentioned there? and if yes does their name match with real files?
  • @ar2rsawseen

    yep the allfiles.txt contains a line with this:
    audio/artleesplash.wav
    all lowercase etc, as per the real file.

    --
    Ive got to say too, i just loaded the apk file onto a HTC Desire, HTC Wildfire S, and Samsung Galaxy Tab 2..... im very impressed, in regards to they all resize nicely, that would have taken alot more time in Native Android to get right... granted the tablets graphics arent top quality, but i could improve on that. and the HTC Wildfire S, runs a bit slower. ...but totally excellent thing.
    :-bd

    next ill draft up to Google Play, and set up the IAP, Ads and Facebook lol

    Likes: gorkem

    +1 -1 (+1 / -0 )Share on Facebook
  • Hi

    Imported file into Eclipse and Run yields 12 errors, 3warnings see attached picture, I get
    lots of "IMarketBillingService cannot be resolved to a type" errors.

    -Installed all API's and extra's from SDK Manager
    -Cleaned Project
    -Fixed project properties

    Still get the same issue any ideas?
    Untitled.jpg
    1946 x 1280 - 614K
  • Never mind I figured it out, I had the android preferences SDK link set wrong

    All working now perfect uploads and runs very slick.
Sign In or Register to comment.