Decomplied Apk showing could not identify launch activity - java

I have downloaded an apk and then decompiled it now when i try to run it through android studio it is showing could not identify launch activity then someone told me i have to specify launch activity in the manifest file but i dont know how to and i cant find main activity file can anyone help me fixing this you can add me on discord SIDD#2087[[enter image description here](https://i.stack.imgur.com/WIczQ.jpg)](https://i.stack.imgur.com/NCbbu.jpg)
i added the file of the project to android studio in order to sync gradle build and i think it worked now just this launcher activity issue is remaining

Related

after update android studio error not show and suggestion not appear in xml file

Before update android studio always show the error like if In linear layout declare the orientation. If write anything then show the error but after update android studio I have to write orientation="ygsdjgas" isn't show the error. Please look in the image
I want to show error like before update. Before updated android studio I have declare orientation="ahsgdah" then show the error but after update it not show the error and also no any suggestion like "horizontal and vertical"
Please confirm below highlighted options in android studio
If still doesn't work then first take backup of your project then delete .idea folder and all .iml files from the project, restarting Android Studio and rebuilding gradle did the trick. Intellisense (Autocomplete suggestion) in XML support library will work.
Checking out files from Version Control or copying all the source files in a new project would do the trick as well.
The problem has been solved. Only I went to the C drive and deleted the .androidstudio file and re-opened the Android studio and all got right for me.this is working for me

Android Studio Emulator Does Not Start App

The Emulator launches. However when attempting to run an app, the app does not show up on emulator. I get a message that says "Gradle build finished with 1 error(s). How can I rectify this problem?
Try this: Go to the path C:\Users*ommitted*\.gradle\caches and delete the folder 2.10 and restart Android studio.

Why I obtain this "Rendering Problems" when I open the activity visualizer of this Blank Activity?

I am absolutly new in Android development and this is my first experiment witn Android Studio.
So I have the following problem: I have created a new projct having the following settings:
Minimum SDK: API 15 Android 4.0.3 (IceCreamSandwitch)
and then chosing Blank Activity into the Add an Activity mobile screen.
The project is correctly created but the problm is that when I open the ativity_main.xml representing my activity it is shown into the Android visualizer but it also appear the following error message:
Rendering Problems
The following clsses could not be found:
- android.support.v7.internal.app.WindowDecorActionBar (Fix Build Path, Edit XML, Create Class)
Tip: Try to Buld path
I also tryed to rebuild my projet but I still obtain the same error message.
The strange thing is that into the visualizer I can see the desird output of my view (created automatiially on the project creation).
Why? What am I missing? What is the problem? How an I fix it?
Solved by myself,
I have download the correct Android SDK with the SDK Manager and then I choose this SDK into the designer preview as specified here: Android Studio rendering problems

Adding GCM to android eclipse project

I am trying to add push notifications to my android application and I found this tutorial on the topic.
But eclipse does not recognize GoogleCoundMessaging, even though I added google_play_service_lib to my project.
Here is my captured screen
I have fixed my problem.
*I added "google_play service.jar" to my project "libs" folder and add it to project build path.
*Then eclipse recognized "GoogleCloudMessaging"
*But application stop working when try to get GCM RegID.
*I run my application without debugging. All problems fixed!

uses-permission disappears when exporting app

I will start with, I'm an android NEWB. This is my first week with Android and although its been fun I think I'm going to stick with IOS development in the future.
But on to my issue:
My app is very simple. It goes to a PHP script, grabs some data and displays it to the user.
Its running fine in the emulator and on a device when ran/installed directly from eclipse. But if I export to an APK and install the app, it shows "Unable to resolve host MYURL: No address associated with hostname".
Its because the build is missing
in the manifest file. However I've put that string in the manifest file but every time I export the app to an APK the string disappears from the manifest file.
I've watched it happen in real time, I have the manifest file open in Eclipse, click "Export signed android application", go through the wizard and right when it builds the APK the permission line just disappears.
Has anybody seen this issue before?
I had the same problem. It would work fine during debugging but when I tried to export the app it wouldn't have permissions and they mysteriously disappeared from the manifest file.
It turns out I was updating the permissions in the MyProject/bin/AndroidManifet.xml not MyProject/AndroidManifet.xml

Categories

Resources