2017-06-28 3 views
1

これは、シミュレータとAndroidで完全に正常に動作しますが、iOSでは失敗します。iOSでCloudinaryからフェッチしているときにCodenameOne "regex.RESyntaxException"が発生する

私は本当にXcodeのについての考えを持っていないので、これは私が提供できる最善の方法です。

com.codename1.util.regex.RESyntaxException 
at com_codename1_util_regex_RECompiler.syntaxError:231 
at com_codename1_util_regex_RECompiler.compile:1283 
at com_codename1_util_regex_RE.__INIT__:407 
at com_codename1_util_regex_RE.__INIT__:393 
at com_cloudinary_Pattern.compile:22 
at com_cloudinary_Url.__CLINIT__:78 
at com_cloudinary_Cloudinary.url:100 

Javaコード(私はそれが壊れるところ推測):

Transformation transformation = new Transformation();   
transformation.width(placeholder.getWidth()).height(placeholder.getHeight()).quality(30).crop("thumb"); 
String uRLToFetch = cloudinary.url() 
             .type("fetch") 
             .format("jpg") 
             .transformation(transformation) 
             .generate(uRL); 
+0

私はそれについてはわかりません、私は見てスティーブに尋ねた –

答えて

1

Iこれを再現することができませんでしたが、私は正規表現パターンがクラス初期化子でコンパイルされないように少し変更を加えました。そこに競争状態があった可能性があります。ここでは、最新のcloudinaryライブラリをダウンロードしてください:

https://github.com/shannah/cloudinary-codenameone/releases/tag/1.1.2

は「コードネームワン」を選択してください - >あなたのlibディレクトリにこれを追加した後CN1 Libsのをリフレッシュします。

+0

それを修正! **どうもありがとう!** – user2661619

関連する問題