Open MrHerry opened 6 years ago
public static boolean isInitialized(Context ctx) { vitamioPackage = ctx.getPackageName(); vitamioLibraryPath = ContextUtils.getDataDir(ctx) + "libs/"; File dir = new File(getLibraryPath()); boolean one = dir.exists(); boolean two = dir.isDirectory(); } 上面的方法是Vitamio.java里面的方法。方法中one和two都返回了false。其中getLibraryPath()方法的值是:/data/user/0/com.avie.aviationedu/libs/;dird的值也是/data/user/0/com.avie.aviationedu/libs;求各位大声帮忙解答,在下感激涕淋!!!
我也遇到这个问题,球解
public static boolean isInitialized(Context ctx) { vitamioPackage = ctx.getPackageName(); vitamioLibraryPath = ContextUtils.getDataDir(ctx) + "libs/"; File dir = new File(getLibraryPath()); boolean one = dir.exists(); boolean two = dir.isDirectory(); } 上面的方法是Vitamio.java里面的方法。方法中one和two都返回了false。其中getLibraryPath()方法的值是:/data/user/0/com.avie.aviationedu/libs/;dird的值也是/data/user/0/com.avie.aviationedu/libs;求各位大声帮忙解答,在下感激涕淋!!!