0
Within src I have a package called meus_utils and in this package I have the class utillog. In this class I have the method
public static boolean gerouLog(Context context){
return true;
}
When I access this method by the Mainactivity class, it gives the following error:
the source Attachment does not contain the source for the file classloader.class android
Code that is accessing the method in the Mainactivity class:
import meus_utils.UtilLog;
public static boolean retornaGerouLog()
{
boolean b = utillogs.gerouLog(this);
return b;
}
my Activity:
<activity
android:name=".MainActivity"
android:label="@string/app_name" >
and the java -version and javac -version are at the same values
Could include hierarchy from src folder?
– Wakim
myLocal -> com.example.mylocal -> MainActivity.java ---------- myLocal -> meus_utils -> utillog.java -> gerouLog()
– JcSaint
Why do you pass on
utillogs.gerouLog(this);
an Activity as a parameter?– Douglas Mesquita
in the gerouLog method I use context.clearWallpaper();
– JcSaint