Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Someone already tried to embed advertising. And as many files in the source ... I'm not really in the Android Studio |
||||
|
You can also try and use Eclipse, if this is easier for you. For adding ads, I think you only need to look into the file CopperCubePlayerActivity.java. There the window is created, and all the other stuff. |
||||
|
Thank you! I will watch |
||||
|
Can someone add "admob " in the project ? I found coppercubeplayeractivity.java but it is different than "layout " in Android Studio projects! Niko , could you prepare a tutorial for this? |
||||
|
Hm, or maybe the Admob developers could create one for CopperCube, would also be a possibility. |
||||
|
There are several problems ,Google ended android ADT for Eclipse. Exporting Android file from CC5 to Eclipse little confusing.I wrote codes but i am not sure all steps are done correctly! Is there any chance adding admob object like in " gdevelop or construct2 "? This 2 program use Intel XDK as well. Thanks, Gökmen |
||||
|
https://drive.google.com/file/d/0B6rbiaedkFIHbExmY1FwdWJNdkk/view?usp=sharing |
||||
|
Seems like you didn't add or select a JDK? Like the Android SDK? Google ended it, yes, but it still can be used and should work. |
||||
|
Hi Niko, What I am done until today. I could download eclipse version of ADT . In Eclipse , I chose Android project. So I manage the action.java problem. Then , matrix4.java, vect3dF.java and quanternion.java give me error. It says undefined for type of Floatmath. And I also got 194 warnings. |
||||
|
Did you try to import the existing Eclipse project? And use the correct Android SDK? You shouldn't get problems like this at all. |
||||
|
Hi Niko, I will try it and inform you. By the time, I wish you all happy new year. |
||||
|
Hi Niko, I import my project to Eclipse as an existing Android Project. After that, i added google play services for Admob. I had no problems with these. I tried several SDK's such as 2.2 , 4.4 and 6.0 For 2.2 SDK (API 8) it is not supported by Admob. We should use at least API 9 For 4.4 google play sevices gave me this error ; appinvite_styles.xml:5: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Material.Light.DialogWhenLarge.NoActionBar'. After my researches on forums. I found out; This error is because of API level. So if i want to overcome this error, i should use 6.0 SDK. When i use 6.0 SDK , as you remember Eclipse would not compile my game. (Floatmath... exc. errors) So this a DEADLOCK for ADMOB :-( http://stackoverflow.com/questions/22028671/adding-admob-ads-to-java-file-instead-of-xml |
|