Reecc / roottools

Automatically exported from code.google.com/p/roottools
0 stars 0 forks source link

ForceClose On getShell() #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Roottools.getShell(true); // now will get force close

What is the expected output? What do you see instead?
-Nothing

What version of the product are you using? On what operating system?
Google nexus4 CM10.1 Stable-build 

Please provide any additional information below.
-----

Original issue reported on code.google.com by pure....@gmail.com on 9 Jul 2013 at 1:38

GoogleCodeExporter commented 8 years ago
Can you provide to me the log of the crash?

Can you tell me what version of RootTools you are using?

Original comment by Stericso...@gmail.com on 9 Jul 2013 at 2:23

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
RootTools version 2.6

log? Sorry No tag "RootTools" found
logmonitor http://img.ihere.org/uploads/ce8a17b900.png

----Update------
Opp!!! RootTools.Log() run into force close too!!

Original comment by pure....@gmail.com on 9 Jul 2013 at 2:37

GoogleCodeExporter commented 8 years ago
A lot has changed with the beta release of 3.0, so you may want to try that and 
see if the issue persists.

Also, just the crash would help, regardless of whether or not it contains the 
tag RootTools.

Original comment by Stericso...@gmail.com on 9 Jul 2013 at 2:40

GoogleCodeExporter commented 8 years ago
Now I try to use 3.0 But it force close too.

my app use eclispe blank activity template and add only RootTool.Log() to 
method onCreate

Now i have logcat from start application (com.pureexe.testroottool) to force 
close https://gist.github.com/pureexe/5957941

Original comment by pure....@gmail.com on 9 Jul 2013 at 2:49

GoogleCodeExporter commented 8 years ago
The issue is that you have not property included the library into your project.

java.lang.NoClassDefFoundError: com.stericson.RootTools
.RootTools

Please see here for information on how to properly include the library into 
your project:
https://code.google.com/p/roottools/wiki/Usage 

Original comment by Stericso...@gmail.com on 9 Jul 2013 at 2:52

GoogleCodeExporter commented 8 years ago
i include this  and compile sussesful
http://img.ihere.org/uploads/3f1e5d0313.png

Original comment by pure....@gmail.com on 9 Jul 2013 at 2:56

GoogleCodeExporter commented 8 years ago
Make sure you do step #4

Navigate to "Order and Export" make sure the box is ticked next to the library, 
and move it to the top of the list.

Original comment by Stericso...@gmail.com on 9 Jul 2013 at 2:59

GoogleCodeExporter commented 8 years ago
OK thankyou :D
Now app run correctly
I forgot step#4

Original comment by pure....@gmail.com on 9 Jul 2013 at 3:03