Android Studio Mapactivity always crashes - java

It's my first time that I am using Maps in my Android Studio project.
My problem is that I always get the same error code:
java.lang.IllegalArgumentException: Textures with dimensions16x256 are
larger than the maximum supported size 0x0
at com.google.maps.api.android.lib6.gmm6.vector.gl.ai.a(:com.google.android.gms.dynamite_mapsdynamite#17785052#17.7.85
(040700-253824076):75)
at com.google.maps.api.android.lib6.gmm6.vector.gl.ak.a(:com.google.android.gms.dynamite_mapsdynamite#17785052#17.7.85
(040700-253824076):52)
at com.google.maps.api.android.lib6.gmm6.vector.gl.ak.(:com.google.android.gms.dynamite_mapsdynamite#17785052#17.7.85
(040700-253824076):4)
at com.google.maps.api.android.lib6.gmm6.vector.gl.f.(:com.google.android.gms.dynamite_mapsdynamite#17785052#17.7.85
(040700-253824076):44)
at com.google.maps.api.android.lib6.gmm6.vector.bx.a(:com.google.android.gms.dynamite_mapsdynamite#17785052#17.7.85
(040700-253824076):82)
at com.google.maps.api.android.lib6.gmm6.vector.bi.run(:com.google.android.gms.dynamite_mapsdynamite#17785052#17.7.85
(040700-253824076):90)
It would be nice if someone could help me.

Related

why dimen values are showing as error on android studio

I tried to develop new mobile application for my final project. So here on my android studio in values I want to put new dimen values. But unfortunately there is co dimen.xml on my android studio. So I creates new value resource file for dimen.xml.
Then I wrote this code in my dimen.xml.
But unfortunately dimen sizes shows me as error (red color) Can anyone help me to clear out this code?
Here I attached the pic of the error one?
Just put in the value between the dimen tags.
Instead of typing:
<dimen name="header">#dimen/_10sdp</dimen>
Type in:
<dimen name="header">10sdp</dimen>
You can then access the value in another xml file by typing in:
#dimen/header
If you want to access the value programmatically, you can type in:
getResources().getDimension(R.dimen.header);

pointerIndex out of range exception in photo editor

I'm facing java.lang.IllegalArgumentException: pointerIndex out of range error while working on photo editor android app. I don't know why I'm facing this error. Here I'll post my class which gives this error.
java.lang.IllegalArgumentException: pointerIndex out of range
I'm not able to post full code here, so please go and view my code here
`https://pastebin.com/KCzcjmuA`
If you want full logs then feel free to ask me. Thanks in advance. NOTE: I'm here after hours of googling without luck.

Trying to integrat inMobi banners while using mopub's ios-robovm-bindings

I'm using robovm to develop iOS game while using Java.
I'm trying to use Mopub's ios-robovm-bindings (https://github.com/BlueRiverInteractive/robovm-ios-bindings/tree/master/mopub) to integrate inmobi banner ads to my app but with no luck so far.
I keep getting this message:
Oct 12 22:00:59 Asafs-iPhone IOSLauncher[5113] <Warning>: MOPUB: Looking for custom event class named InMobiBannerCustomEvent.
Oct 12 22:00:59 Asafs-iPhone IOSLauncher[5113] <Warning>: MOPUB: Requesting InMobi banner
Oct 12 22:00:59 Asafs-iPhone IOSLauncher[5113] <Warning>: MOPUB: Failed to create an inMobi Banner with invalid size {7.1806318e-37, 5.9439283e-15}
I already made changes in Mopub's web UI by entering a CUSTOM EVENT CLASS and CUSTOM EVENT CLASS DATA with my inmobi "app_id".
Do I need to add size as well? if so, how?
I would greatly appreciate any help in working this problem.
I'm from InMobi.
Failed to create an inMobi Banner with invalid size {7.1806318e-37,
5.9439283e-15}
Looks like you've specified the wrong ad sizes. It shouldn't be in decimals. Just specify the correct ad sizes as mentioned in the documentation and it should work.

Native method not found error on Android

For my bachelor thesis iam trying developing a JmonkeyGame.
4 weeks ago i read something about use a Character and use Physics ==> use BetterCharacterControl class.
Now my problem is that as soon as i implement statemanager.attach(bulletAppState):
#Override
public void simpleInitApp() {
bulletAppState = new BulletAppState();
stateManager.attach(bulletAppState);
initKeys();
initMouse();
initAudio();
createLight();
createTerrain();
createSky();
addPlayer();
addCamera();
}
I get an error on android.
I am developing in eclipse, not JME3-Programm because the game is only a part of the apk.
Libaries in eclipse:
JME3-android.jar, JME3-bullet.jar, JME3-core.jar
I have no idea where to look for a solution, or why this problem occours.
Help or tips to my problem would be fabulous.
Hardware:
Sony Compact D5503
Android V. 4.4.2
Android Screenshot of error:

java/nio/charset/Charsets error in Android Studio using DatePicker

I receive this error in Android Studio when I try to render a DatePicker:
Rendering Problems Exception raised during rendering: java/nio/charset/Charsets
When I delete the DataPicker from raw XML the error dissappears and I can work normally with my layout, but as soon as I try to add a DataPicker this error appears and I cannot see any component in the Component Tree, nor any activity in the activity view (where I operate with the design of my layout).
I'm using API 16 to render the layout (since APIs 17 & 18 are broken with CalendarView & DataPicker) and for locale I have es-ES.
What can I do to solve this error or, at least, be able to work in Design view with a DataPicker?

Categories