android,crash,andengine,android-logcatRelated issues-Collection of common programming errors
JRowan
android unity3d environment-variables prime31
i have just a blank project with prime31 google play game services plugin in it and im trying to run the demo scene and i keep getting this error, i feel like its something simple like setting environment variables or something, any help is greatly appreciated thank youError building Player: CommandInvokationFailure: Unable to convertclasses into dex format. See the Console for details. C:Program Files(x86)Javajdk1.7.0_51binjava.exe -Xmx1024M-Dcom.android.sdkmanager.toolsdir=”C:/Users/John P. Ro
Dray
android timezone
In my Application I am displaying some info to the users according to the user’s TimeZone. I am allowing the users to select different cities in the world and to get the required info. By default I will get the TimeZone of the user from their Device using `TimeZone myTZ = TimeZone.getDefault();`And once the user changes the TimeZone , I am saving it in preferences. No problem in storing and retrieving the values from the preferences.When another TimeZone is selected I set that TimeZone as defau
user2240187
android in-app-purchase subscription trial
I’m implementing an app with in app billing(subscription)with my own product ids and the purchase works fine till I change the trail duration on the Google Develper Console from 0 to 7(or more).I’m testing on a device. I’m getting the Error: Error retrieving information from server [DF-DFERH-01].Also there are two other errors with may interact with it:(Logcat)05-12 00:17:14.770: E/Volley(28168): [2645] BasicNetwork.performRequest: Unexpected response code 500 for https://android.clients.google.
Iraklis
android eclipse logcat
Whenever I untick “Data Enabled”(Settings->Mobile network settings) within my AVD I get the following error, I lose LogCat connectivity, and I have to restart the AVD/Eclipse :[2012-10-31 16:11:07 – Unexpected error while launching logcat. Try reselecting the device.] device not found com.android.ddmlib.AdbCommandRejectedException: device not foundat com.android.ddmlib.AdbHelper.setDevice(AdbHelper.java:752)at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:373)at com.android.dd
Marco Masci
android camera glsurfaceview
I am trying to use a GLSurfaceView instead of a normal SurfaceView with a camera application. The app simply display the camera preview frame on a surfaceview object. It works, but since i want to add opengl es rendering on the camera preview frame, i started by extending a GLSurfaceView class instead of a SurfaceView. Just that. The application seems to work, but sometimes it mulfunction (the app don’t exit anymore if i press the back button) and it exit always with an error (when i close it, a
Ajmal Salim
android actionbarsherlock
I am having an unexpected issue with ActionBarSherlock. When I use Holo.Theme.Sherlock.Light.DarkActionBar, it is ok and will look likebut if I choose Holo.Theme.Sherlock.Light, I am getting some Padding issues in the DropDownListView, like this : I dont want that much Padding in between the ListView itemsI have tried making a CustomTheme, but its not working`<style name=”AppTheme” parent=”Holo.Theme.Sherlock.Light”><item name=”android:dropDownListViewStyle”>@style/DropDownListView&
Dave
android exception-handling
I am working on an app with remote exception-handling. That is, if an exception happens somewhere that wasn’t expected, the app closes gracefully and a report is generated in the log on our server. I am using the UncaughtExceptionHandler interface for this and it works well except that it does not seem to catch Throwables that are actually Errors. Obviously, the best solution is to just handle everything and/or not allow anything to throw an Error in the first place. For the sake of thorough err
user3091702
java android unit-testing testing robolectric
I am trying to capture an http request with Robolectric The method tokenize method sends a request to a server and I just want to test that the post is sent: If I try //Cardtest.javaRobolectric.setDefaultHttpResponse(200, “dummy”); card.tokenize(paymentHandler); Robolectric.getSentHttpRequest(0);The I have an empty array errorBut I know that the request is sent because if I remove the first line I have the following error:Unexpected HTTP call POSTIf I put log statement it appears that my success
Binghammer
android bitmap android-imageview android-image bitmapimage
I have 1024 x 900 image coming from server. And I want to get the half of this image. I use this code img.setImageBitmap(Bitmap.createBitmap(bitmap,0,bitmap.getWidth()/2, bitmap.getWidth(), bitmap.getHeight()/2));But when I do this I have this error y+height must be <=bitmap.getHeightWhat should I do here for not getting the exception.
Newbie
jquery android ajax json phonegap
Ive been developing an application in android with phonegap. can anyone help me on how can i call my webservice that outputs a JSON string through my android application via AJAX with jquery? thank you very much for the help.I have this piece of code in my Jscript:$(document).bind(“mobileinit”, function(){ $.support.cors = true; $.mobile.allowCrossDomainPages = true; });$.ajax({type: “POST”,timeout: moneTimeout,url: “http://10.0.2.2:49878/SampleProject.aspx?p_trxn_type=doLogin&p_phoneNumber=
hoss
android exception crash android-studio
I was working on a project in Android Studio and was regularly compiling the code running it on my device to make sure everything was in working order. Suddenly the main activity crashes, several times after compiling several separate times. I checked the logcat and the error was reported as being due to failure to recognize the layout. I didn’t understand why, as I hadn’t changed any of the code in the main activity.In fact the only thing that had changed over the course of those few days was t
Harlandraka
windows-7 ssd crash bsod
I have a Windows 7 computer with this hardware:Asus P8P67 PRO Intel i7 2600k 8GB RAM AMD Radeon HD 6970 2TB HDD (used for storing data) 128GB SSD OCZ Vertex III (used for the OS)The PC works fine but Windows crashes after some time (sometimes after an hour, sometimes after 4 hours, etc). I can see it because when I open an application, it hangs and doesn’t open, and if I click on the start button, explorer crashes. After that, if I wait it goes to blue screen and re-crashes (never reboots): I ha
Psycogeek
power-supply freeze crash gpu htpc
Subject says most of it. My HTPC will occasionally be found in this hard-locked/crashed state when nothing of note was being done. The past couple times, it has been while the screensaver was running over top of the Steam client (not Big Picture, just the normal client) and nothing else of note was running. I’ve not experienced this crash when watching TV via Windows Media Center, nor when playing Steam games like Dark Souls. Checking Event Viewer has been fruitless, as no BugChecks or other err
Dynde
windows-7 hard-drive boot ssd crash
I’ve been having some weird random crashes that I can’t seem to locate, and I’m unsure if it’s windows or hardware related.It’s a brand new computer and very powerful. I’ve run into a couple of these random crashes, now I don’t know what causes them, as it happens during the night, when I’m sleeping. When I wake up, all I see is a boot manager screen that says Exception: 0xc00000e “Boot device inaccessible”. A simple restart doesn’t fix the problem – it seems to struggle locating my primary hdd
the_mandrill
windows-7 crash shutdown
I’ve got a problem with a Win7 machine that up until now has been very reliable. During the boot it will just power off — no warnings or BSOD. Sometimes it gets as far as the login screen but shuts down on login, other times during the splash screen. System repair and System Restore don’t make any difference. I can boot into safe mode or onto a boot disk, which suggests it’s not a CPU overheating problem. I wondered if it was some kind of disk corruption, but I wouldn’t have thought it wou
Alexis Li
mavericks retina-macbook-pro google-chrome crash hang
I bought rMBP around November last year. As I open Chrome, it crash without log. I can’t move the mouse, and the mms stream player keep working.The only solution is to restart it with power button.I can’t find the report by chrome://crashes and ~/Library/Logs/.I think the kernel_task doesn’t make it.Are there anyone else got the same problem and solution? How to identify the unexpected shutdown by power button in shutdown_monitor.log or /var/log/system.log?Version:10.9.1(13B3116) Chrome Version
boldnik
wireless lenovo thinkpad crash
Just a few days ago I installed new wifi driver and everything seemed to work fine on Lenovo ThinkPad S440. But now I experience a problem with wifi: the speed slows down to zero that no page could load in web browser. The second problem (not sure if they are connected but maybe) is system crashes unexpectedly. this is a pastebin of dmesg output so you could see what’s happening. When the system crashes, X and all other programs crash. I can’t even switch to tty and restart X. Can’t be reproduce
Julio Gorgé
xcode crash iphone uitabview
Using XCode 4, with the iPhone iOS 4.2Hey everyone, I’m using a tabBar interface for my new app that I’m trying to finish. I have declared the UILabels and as soon as I connect them in the interface builder to the actual labels, the whole app will crash upon selection of its tab at runtime, in the simulator and on my iphone. I’m hoping there’s a really simple answer out there, but I really have no idea where to look (I am a novice). Thanks in advance,
Jonathan Leffler
c++ linux crash recovery
I have an application written in C++ in a Linux environment. The app dynamically loads library (shared object) during runtime. (Application gets the user command and it will do the logic to dynamically load the required shared library.)Is there any way to prevent the application from crashing and exiting when a crash or segfault occurs in the shared library?I want my application to be active and report the crash to the user.
user2586553
build crash jenkins
When I do a Jenkins build it crashes and the console says:No such file: /var/lib/jenkins/jobs/milkcraft/builds/2013-07-15_07-54-56/logAny ideas? Here is the script:rm -r builds mkdir builds python runtime/recompile.py python runtime/reobfuscate.py cd reobf/minecraft zip -r -D -9 $WORKSPACE/builds/milkcraft_$BUILD_NUMBER * cd ../..(Yes, Minecraft modding)
Simon Hillary
java android android-emulator andengine
I have seen many similar questions to this one posted on SO but none seem to answer my question. Quite simply, every time I try and run my app on the emulator, it quits back to the main menu and displays a dialog saying “Unfortunatley, Scribble Runner has stopped”. Here is my BaseActivity class and my AndroidManifest.xml file.BaseActivity:import java.io.IOException; import java.io.InputStream;import org.andengine.engine.camera.Camera; import org.andengine.engine.options.EngineOptions; import org
Racoon
text andengine android-version
I have this code:score = new Text(20, 50, font, “0123456789.()abcdefghijklmnopqrstuvwxyz”, vbom);score.setText(“”);scene.attachChild(score);I read in internet, that in beginning of using Text, need to list all chars which will be used.In my Galaxy S2 (android 4.0.3) this code works properly it is nothing on the scene, but in my wife’s Galaxy S2 (android 2.3.3) the result on scene is like this: 0123456789.()nabcdefghijklmnopqrstuvwxyzIt is problem of android version? Or maybe I am doing something
Zacharias
android andengine game-engine game-physics
I am making a game on andengine. A car moving from bottom to top (Across the road), many cars are coming through the road. I want to save the single car by touching and destroying the other cars. I can get the collisions. But when I touch and destroy other cars, i get an exception ArrayOutOfBound after destroying two or three cars. What may be the problem? Thanks in advanceIterator<Sprite> targets;public void addTarget() {Random rand = new Random();int x = (int) mCamera.getWidth() + mTarge
Adinia
android andengine tmx
I am using andEngine GLES1 for development. In tmx map I have some polygon object so I am getting force close. Please suggest me a way to use polygon and polyline objects in tmx map.Here is my LogCat Error03-29 20:30:26.410: E/AndEngine(1006): AndEngine 03-29 20:30:26.410: E/AndEngine(1006): org.anddev.andengine.entity.layer.tiled.tmx.util.exception.TMXLoadException: org.anddev.andengine.entity.layer.tiled.tmx.util.exception.TMXParseException: Unexpected start tag: ‘polygon’. 03-29 20:30:26.410
VonnCC
android andengine
I have an Game App, and i’m using a lot of XML’s I was wondering if those XML’s are carried by the APK? will those XML files will be installed together with the application itself? Because there is a part of my App where I use DOM Parser to update a XML file and the updated XML file will have its content permanently unless you update it again
K. Barresi
android andengine
I’m developing a game with android using andengine. Basically, I’m using 2 ArrayList to store my 2 types of Sprites. I’m adding and removing both types of Sprite at runtime, in reaction to user interaction. However, I’ll get random crashes with only the following error codes: 10-09 12:11:13.532: A/libc(8015): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1) 10-09 12:11:13.572: V/AndEngine(8015): org.andengine.input.touch.TouchEvent$TouchEventPool<TouchEvent> was exhausted, with 2 item not
rphello101
android multithreading andengine freeze
I’m using AndEngine to make a game that deals with a lot of moving sprites. It’s inconsistant when, but eventually I get a message in the log cat (threadid=3: reacting to signal 3) and the game freezes. What does this error mean? I’ve narrowed down in the code where it happens (it’s marked): private void levelComplete(){runOnUiThread(new Runnable() {public void run() {Toast.makeText(TestGFX5Activity.this, “Level Complete”, Toast.LENGTH_SHORT).show();}});Log.e(“Level Complete”,”Going to reset val
stackuser
Marvo
android andengine game-engine game-physics
I am new to Android Game Development, I am using Andengine for the Game Development. I want to stretch an image by the touching the image.Please note I want to just stretch that part of image which is being touched.
Chaitanya Chandurkar
android audio andengine
I’m trying to create Settings for game which allows user to save whether u need sound or not (CheckBox).when user unchecks it, i want to disable all further sounds.This is what i’m doing // Create Dialog final SexyAlertDialog dialog = new SexyAlertDialog(mActivity,R.layout.settings,R.style.SettingDialog,false);// Find CheckBox final CheckBox isSoundEnabled = (CheckBox) dialog.findViewById(R.id.isSoundEnabled);// Check SharedPreferences to get isSoundEnabled value if(mSettingPreferences.getBoolea
Class Stacker
eclipse android-logcat
How to remove unnecessary trace or tag in eclipse(Android). Like this trace05-02 06:16:49.093: W/Trace(1227): Unexpected value from nativeGetEnabledTags: 0 05-02 06:16:49.093: W/Trace(1227): Unexpected value from nativeGetEnabledTags: 0 05-02 06:16:49.164: W/Trace(1227): Unexpected value from nativeGetEnabledTags: 0 05-02 06:16:49.164: W/Trace(1227): Unexpected value from nativeGetEnabledTags: 0 05-02 06:16:49.201: I/Choreographer(1227): Skipped 39 frames! The application may be doing too 05-0
android_newbie
android android-logcat
Possible Duplicate:Unexpected value from nativeGetEnabledTags: 0 I have just installed the latest version of SDK (r21) and ADT 21.0.0. I shifted my project from the eclipse, I was using previously to the newer version. After shifting the project i clicked on the Run button to test the application, and suddenly i found that the whole logcat was filled with the messageUnexpected value from nativeGetEnabledTags: 0I just 10 minutes the number of this kind of messages reached more than 10,000 and i
Traveling Salesman
android osgi logcat android-logcat osgi-bundle
In my eclipse plugin project, I am trying to use the Android API. I am only showing a message on the LogCat.In addition to adding Android.jar to my class path, I prepared Android.jar as a bundle by follwing this link. So I did the following: 1- Writing the MANIFEST.txt which contains the following:Manifest-Version: 1.0 Created-By: myself Bundle-ManifestVersion: 2 Bundle-Name: android Bundle-Description: Package android in an OSGi bundle Bundle-Version: 4.4.0 Bundle-ClassPath: .,android.jar Bundl
Andrew
android android-logcat
I’ve got an app which works fine pretty much most of the time, but I’m finding on occasions stops working.Is there a way to capture the app and system logs on a rooted phone so I can scan through them afterwards to see where the problem is.I know about adb logcat > output.txtbut I’m hoping for an “on phone” way to do this so I don’t have to have the phone plugged into a computer all the time as it can take a day or two to stop working.
Traveling Salesman
android osgi logcat android-logcat osgi-bundle
I have an OSGI Bundle which is an eclipse plugin project. In this bundle, I am trying to use the android API to print a message on LogCat. The way I was led in these two questions 1 , 2 to achieve that is to get a real implementation of Android API and to prepare it as separate bundle which exports android.util so that my bundle import android.util and use it. Okay, I did all these steps. I used this android source code, and Below is my bundle’s Activator class:package bundle_androidapi;import o
taraloca
android android-logcat
I can’t for the life of me figure out why I am getting this in my logcat:11-16 09:08:04.287: W/ResourceType(348): No package identifier when getting value for resource number 0x0000000411-16 09:08:04.295: W/ImageView(348): Unable to find resource: 411-16 09:08:04.295: W/ImageView(348): android.content.res.Resources$NotFoundException: Resource ID #0x411-16 09:08:04.295: W/ImageView(348): at android.content.res.Resources.getValue(Resources.java:907)11-16 09:08:04.295: W/ImageView(348): at andr
Hussain Akhtar Wahid ‘Ghouri’
java android android-logcat
If you use Log.d(“hussi”,”hussi”): then we can see it in logcat .but after the application is installed in the smartphone , can we see the logs somewhere in the phon , if yes , then where ?? also if there is any other way to write logs which we can trace in smartphones ?
ross
android eclipse runtime-error android-logcat
The only way I can see the runtime error trace in LogCat is when I edit/save changes to code and an Eclipse popup asks me if I want to Disconnect the device.How do you make it show the trace by default right when it crashes? (As it is, all I see is the blank lack-of-source-code page where it tries to show me the Android source that isn’t there)Edit: This example is on an actual device. When using the emulator I simply can’t find a way to see the error traceWorkaround: For now my work around is o
Hitesh Patel
android android-ndk crash-reports android-logcat remoteexception
I have developed application for OCR using tesseract Library,Application got exit during the execution of following code :/*… … Other Code stuff …*/protected Boolean doInBackground(String… arg0) {/*…… Other Code stuff…*/Pix pix = getPixFromBitmap(bitmap);pix = preprocess(pix);Pixa pixa = slice(pix); // Code Updatedtry {baseApi.setPageSegMode(TessBaseAPI.PSM_SINGLE_LINE);int num = pixa.size();for (int i = 0; i < num; i++) {Pix pixi = pixa.getPix(i);/*…… Other Code stuff…*/}
Qadir Hussain
android listview android-webview android-logcat
i have a listView inflated a webview in it. I m loading each webview with a URL and every URL just contains an image of about 491X600 in dimensions.the Problem is that when I am making setLoadWithOverviewMode(true/false) to true the app crashes while scrolling the listview. here is the logcat showing the Exception 01-08 16:16:56.600: E/AndroidRuntime(8666): java.lang.IllegalArgumentException: bitmap size exceeds 32bitsalso my question is not duplicate to this as i m using the webview not the im
Web site is in building