Problem with android compiling

Daft63

  • Posts: 51
Hello everybody, when i want to test my game on android tablet i've got this message in the log viewer and the game doesn't launch

[LOG] -compile:
[LOG]     [javac] Compiling 18 source files to /Users/Johan/stencylworks/games-generated/POYoff/Export/android/bin/bin/classes
[LOG]     [javac] /Users/Johan/stencylworks/games-generated/POYoff/Export/android/bin/src/AdWhirl.java:77: AdRequest() has private access in com.google.ads.AdRequest
[LOG]     [javac]              AdRequest adRequest = new AdRequest();
[LOG]     [javac]                                    ^
[LOG]     [javac] /Users/Johan/stencylworks/games-generated/POYoff/Export/android/bin/src/AdWhirl.java:136: AdRequest() has private access in com.google.ads.AdRequest
[LOG]     [javac]             AdRequest adRequest = new AdRequest();
[LOG]     [javac]                                   ^
[LOG]     [javac] Note: Some input files use or override a deprecated API.
[LOG]     [javac] Note: Recompile with -Xlint:deprecation for details.
[LOG]     [javac] 2 errors
[LOG] BUILD FAILED
[LOG] /Users/Johan/stencylworks/android-sdk/android-sdk-macosx/tools/ant/build.xml:713: The following error occurred while executing this line:
[LOG] /Users/Johan/stencylworks/android-sdk/android-sdk-macosx/tools/ant/build.xml:727: Compile failed; see the compiler error output for details.
[LOG] Total time: 3 seconds

How can I do ? Thanks everybody  :-\

sdieters

  • Posts: 2068
try following my tutorial to see if it works >> https://www.youtube.com/watch?v=LSEITYmgbpI
My new profile is TheIndieStation.
When you see a recent post with this name, i'm probably using my phone. So dont mind any typo's =p

loz666

  • Posts: 9
Hi Daft63,

I have the same issue. Did you manage to resolve it?

Abliblablobla

  • *
  • Posts: 524
I didn't see this topic. I have just replied to this question here

Here is what I wrote:
In your case, Stencyl is trying to use an old version of the AdMob SDK. To fix this error, do a clean install of Stencyl. To do a clean install you have to uninstall/delete your current version of Stencyl, download the latest private release and install it. Do NOT install the latest version of Stencyl over your existing one! After you have done a clean install of Stencyl, use Run > Clean Project. This should fix your issue.
.: BuruBuru :.