yixia / VitamioBundle

Vitamio for Android
http://www.vitamio.org/en/
Other
5.27k stars 2.07k forks source link

Vitamio.isInitialized()方法中file.exists()返回false。 #479

Open MrHerry opened 6 years ago

MrHerry commented 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;求各位大声帮忙解答,在下感激涕淋!!!

tang85718 commented 6 years ago

我也遇到这个问题,球解