"Unfortunately, APPNAME has stopped." - Android Studio

I am building a Launcher on Android Studio, however for some reason it won't run. There is no errors with the code, just every time I try to run it, a message appears on my tablet that says "Unfortunately, SimpleLauncher has stoppped."
SimpleLauncher is what I named my project for now.
Do you know why this could be happening? Thank you.

What errors are you getting in the log? And do you have the activity listed in your manifest?

Just because the code doesn't show errors doesn't mean it not erroneous code.
Manifest correct?
Don't you get an Exception/Stacktrace? I almost cannot believe you don't

Related

[Q] Orbot broken on Enomther (Logcat included)

As certain Pandora users on this board may know, Orbot never works on Enomther's rom, but runs fine on CM and presumably stock (haven't tested stock). Orbot cycles between "Starting Orbot" and "Could not start Tor process", does this twice, then exits.
It appears to be failing at findProcessId(TorServiceUtils.java:68).
The tor log reveals:
1. "Orbot is starting"
2. "got tor proc id: -1" (i'm guessing -1 is an error flag)
3. "Couldn't start Tor process"
It then says "checking for an existing tor process", then quits on error.
I guess it can't find the tor background service.
Edit: I think the tor service isn't starting, even though Orbot thinks it did. Might have something to do with iptables or something.
Logcat: http://pastebin.com/6GESYFmm
I'm not a dev, but is there a simple solution to this? Is there something obvious I can change in the Orbot source, maybe I can compile my own client.
Thanks guys.
You're not connected to WiFi, right? Using cellular data?
See if you receive the same warnings on CM6:
09-25 04:29:38.433 W/ORBOT ( 1990): Unable to get proc id for: /data/data/org.torproject.android/tor
09-25 04:29:38.433 W/ORBOT ( 1990): java.lang.NumberFormatException: unable to parse 'app_61' as integer
Other than that, the error dump is binary - not much to do with it...

[Q] my keyboard I get an error message saying "Application not licensed.

whenever I try to use my keyboard I get an error message saying "Application not licensed. This version of Swype has an invalid license and will operate with limited functionality. Beta users, please run the installer again. All others, contact Swype."
Has anyone else faced this problem? I don't yet have my device re-rooted, and I'm not sure I'll be able to as long as I can't type *anything* because of this license issue.

How to Configure Signing Information Project Structcture Dialog

I am getting the "Unfortunately Has Stopped" message in my release version that does not occur in the debug version. So i tried running the release version with debug. It gives me this message "app-release-unsigned.apk is not signed. Please configure the signing information for the selected flavor using the Project Structure dialog.". Well, i have no clue about how to fill in this dialog.
Is it possible to do debugging with the release version? How can i run the release version in the Genymotion emulator? Which sections of the dialog do i need to fill in?
Any help much appreciated.
Mick

Android Studio- Gradle project refresh failed

Hello,
I am trying to use Android studio when I got the "Failed to open zip file,Gradle's dependency cache may be corrupt" error. When I click the below text that says "Re-download dependencies" nothing happens. Does anyone know how to fix this? Should I re-download the installer

QQi - "The package conflicts with an existing package by the same name"

I previously had a Note 3 (Android 5.0) where I used QQi, an instant-messaging and social-networking application primarily used by Chinese people.
When trying to install from Play Store on the Note 8, I get "Error code -505".
So I tried to download the APK manually and install it, but I'm told "The package conflicts with an existing package by the same name". The package name is "com.tencent.mobileqqi". I can't find any existing package of that name on my device.
I tried a few solutions found online, like restarting then immediately running the installer, or turning the secure start-up on/off. But nothing worked. Has anyone been able to get QQi working on the Note 8? Any general tips for resolving such "package conflicts" errors?
Finally found the problem via ADB (enabled debugging and tried to install the package with "adb install" which gives more clear error messages). Seems QCloud (which was already installed) had registered a permission and QQi was trying to re-register it. So the error message displayed in Package Installer was not very helpful or accurate. Uninstalled QCloud, installed QQi, then re-installed QCloud. This works now

Categories

Resources