java - The import com.android.internal.util.BuildInfo cannot be resolved -


i'm compiling rom , while compiling gives me these errors:

  • the import com.android.internal.util.slim cannot resolved
  • buildinfo cannot resolved

in file giving error there is:

import com.android.internal.util.slim.buildinfo; 

and then

    private static int getadvancedreboot(context context) {         int def = buildinfo.getslimbuildtype().equals(buildinfo.build_type_unofficial) ? 1 : 0;         return settings.secure.getint(context.getcontentresolver(),                 settings.secure.advanced_reboot, def); 

i don't know because i'm compiling rom. don't know c , c++ language. thank :)

you can check directory "framework/base/core" if there class buildinfo or not


Comments