-1

I imported an android project from here, it says min SDK 10 and max SDK 19, so I downloaded the API versions from 10 to 19, also in layout -> main.xml -> in Android version to use for rendering layout I chose API 19.

When I am running this app on my phone (Note 2, Kitkat). I keep getting error that the application has been stopped. I have attached below the image of the screenshot of the logcat.

enter image description here

halfer
  • 19,824
  • 17
  • 99
  • 186
s.g
  • 57
  • 1
  • 7
  • https://drive.google.com/file/d/0B0z3LFuVZAYYb3NueDlaT3JkblU/view?usp=sharing – s.g Oct 13 '16 at 09:11
  • How do I ask a good question? http://stackoverflow.com/help/how-to-ask – Anantha Raju C Oct 13 '16 at 09:18
  • hello,actually i am building an app where there will be live streaming and an ip address will be generated , using that ip address anyone can view the streaming within the same wifi . I am done with the streaming part , but can u guide me how to generate ip address . – s.g Oct 13 '16 at 16:45
  • 1
    what do people keep posting screenshots of their errors? did you never heard of copy-pasting text? – njzk2 Oct 13 '16 at 17:45
  • sorry to bother u mate @njzk2 ..actually m new to stackoverflow.. wont repeat nxt tym. – s.g Oct 13 '16 at 19:59
  • 1
    @s.g: please fix it this time, the question may be useful to someone in the future, and we like to keep them readable here. Thanks! – halfer Oct 13 '16 at 21:59
  • @halfer : build-> clean and run , it worked for me . – s.g Oct 15 '16 at 07:55

1 Answers1

0

Taken from the 3rd red line of the shared image

java.lang.RuntimeException: Unable to instantiate application com.foxdogstudios.peepers.PeeperspAplication:
java.lang.ClassNotFoundException: Didn't find class "com.foxdogstudios.peepers.PeepersApplication" on path
/data/app-lib/com.foxdogstudios.peepers-1.apk, /vendor/lib /system/lib

It seems that the built apk does not include the class PeepersApplication

Mauricio Gracia Gutierrez
  • 10,288
  • 6
  • 68
  • 99
  • thanks.... but the prb is fixed now, the app is running... i want to generate ip address for the live streaming part..can u help me how to do it ? – s.g Oct 13 '16 at 19:44
  • Device on which android application is installed and device used to view live video stream are connected to same local network. – s.g Oct 13 '16 at 19:46
  • @swaty ips are usually assigned to the device as soon as they get connected to a network - see this question - http://stackoverflow.com/questions/6064510/how-to-get-ip-address-of-the-device – Mauricio Gracia Gutierrez Oct 13 '16 at 20:04