Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Android / interpreter android prebuilt src error

Author
Message
kirtn14
12
Years of Service
User Offline
Joined: 8th Sep 2011
Location:
Posted: 2nd Sep 2013 23:47
when I open the interpreter android prebuilt in eclipse an error is flagged with base64decoderexception.java (in src>com.thegamecreators.agk_player.until)
im told "The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files"

I followed all of the steps on the tier 1 guide

please can someone help me

kirtnicholls
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 3rd Sep 2013 00:44
Did you follow the steps in the README.txt file in the interpreter_android_prebuilt directory?

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
kirtn14
12
Years of Service
User Offline
Joined: 8th Sep 2011
Location:
Posted: 4th Sep 2013 15:43
yes and it still does nothing to the error

kirtnicholls
kirtn14
12
Years of Service
User Offline
Joined: 8th Sep 2011
Location:
Posted: 4th Sep 2013 15:57
all but the licencing part, I cant find it anywhere on android and the help section of the android website is shockingly bad.

kirtnicholls
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 4th Sep 2013 16:38
I haven't tried to use the prebuilt bits lately. I'll give it a try later and see if I can figure out the issue.

Have you set up a developer's account with Google? (or whatever they call it)

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
kirtn14
12
Years of Service
User Offline
Joined: 8th Sep 2011
Location:
Posted: 5th Sep 2013 09:16
yes, I have applications on it using the old method but I thought I would try the new one to see what difference it makes

kirtnicholls
kirtn14
12
Years of Service
User Offline
Joined: 8th Sep 2011
Location:
Posted: 7th Sep 2013 13:37
how do I get or find the app code thing? the last part of the instructions sad that it is needed to replace the pre-set one but I cant find it anywhere

kirtnicholls
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 7th Sep 2013 16:31
What 'app code'? I can't find any reference like that in the README.txt.

If you mean bytecode, that is the file that is created by the AppGameKit IDE when you compile your app. It appears in your <winproj>\media directory as <projname>.byc. You copy that to the interpreter_android_prebuilt\assets\media directory and rename it (exactly) 'bytecode.byc'.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
kirtn14
12
Years of Service
User Offline
Joined: 8th Sep 2011
Location:
Posted: 9th Sep 2013 21:58
Open AGKHelper.java and find the variable named base64EncodedPublicKey, chanage this to the key found in your Google Play developer console for your chosen app.

I cant do this part

kirtnicholls
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 9th Sep 2013 22:35
Why can't you?

Can you not find the file or do you not have a Google Play developer account?

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
kirtn14
12
Years of Service
User Offline
Joined: 8th Sep 2011
Location:
Posted: 10th Sep 2013 20:03
I cannot find the file, I have an account

kirtnicholls
kirtn14
12
Years of Service
User Offline
Joined: 8th Sep 2011
Location:
Posted: 10th Sep 2013 20:27
I managed to find the code and insert it but the errors still appear with the base64decoderexception.java part of the src file

kirtnicholls
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 10th Sep 2013 21:14
Can you post the actual errors here, please?

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
kirtn14
12
Years of Service
User Offline
Joined: 8th Sep 2011
Location:
Posted: 10th Sep 2013 21:57
// copyright 202, google inc
Quote: "(The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files)"


public class base64decoderexception extends exception (
Quote: "(exception cannot be resolved to type)"


public base64decoderexception(string s) {
Quote: "(sting cannot be resolved to type)"


I have put the sentence at that the errors appears on first then put the error in brackets and quoted it after each appropriate line

kirtnicholls
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 11th Sep 2013 00:10
I assume that you have edited the AGKHelper.java file (and make sure that the string is properly closed).

Did you do a refresh of the project after you edited the file? (Select the project in the project explorer in Eclipse and then hit the F5 key, and there is no feedback when you do this.)

Are those the only errors/warnings showing up?

I just looked at your original post again, and should have paid attention to "(in src>com.thegamecreators.agk_player.until)".

I have no idea what "com.thegamecreators.agk_player.until" is. There is no directory or file named 'until' (if you replace the '.' with '\') under IDE\interpreter_android_prebuilt\src\thegamecreators\agk_player.

The error you indicate is probably showing up because something else isn't correct somewhere in your setup, not in the actual Base64DecoderException.java file.

I was just able to import the interpreter_android_prebuilt file into Android and only had to add the usual android-support-v4.jar file as an external jar (project properties->Java Build Path:Libraries tab) and it 'ran' fine.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
kirtn14
12
Years of Service
User Offline
Joined: 8th Sep 2011
Location:
Posted: 11th Sep 2013 22:22
I did refresh the project and these are the only errors

kirtnicholls
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 11th Sep 2013 23:46
I just looked at your original post again, and should have paid attention to "(in src>com.thegamecreators.agk_player.until)".

I have no idea what "com.thegamecreators.agk_player.until" is. There is no directory or file named 'until' (if you replace the '.' with '\') under IDE\interpreter_android_prebuilt\src\thegamecreators\agk_player.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master

Login to post a reply

Server time is: 2024-04-19 06:36:42
Your offset time is: 2024-04-19 06:36:42