YorkShen commented on a change in pull request #2712: Update for libweexjsb path
URL: https://github.com/apache/incubator-weex/pull/2712#discussion_r303879763
 
 

 ##########
 File path: android/sdk/src/main/java/com/taobao/weex/WXEnvironment.java
 ##########
 @@ -247,6 +277,36 @@ public static String getCustomOptions(String key){
     return options.get(key);
   }
 
+
+
+  public static String copySoDesDir() {
+    if (TextUtils.isEmpty(COPY_SO_DES_DIR)) {
+      if (sApplication == null) {
+        WXLogUtils.e("sApplication is null, so copy path will be null");
+        return null;
+      }
+
+      String dirName = "/cache/weex/libs";
+      File desDir = null;
+      String cachePath = 
WXEnvironment.getApplication().getApplicationContext().getCacheDir().getPath();
+
+      if (TextUtils.isEmpty(cachePath)) {
 
 Review comment:
   I am not sure whether you have write permission for directory of `cachePath`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to