ericwlange / AndroidJSCore

AndroidJSCore allows Android developers to use JavaScript natively in their apps.
468 stars 78 forks source link

Babel polyfill.js #14

Closed bfortunato closed 8 years ago

bfortunato commented 8 years ago

Hi, Babel polyfill.js evaluation causes an infinite run loop on android. I'm trying to locate the native jni code in your project. Where is?

Tnx for your work!

ericwlange commented 8 years ago

Hi

The native JNI code lives in the webkit branch: https://github.com/ericwlange/webkit/tree/82034b2c34d7fb11de50d7bc53de6c1aabbc574b/Source/JavaScriptCore/android

Let me know if there is anything I can do to help.

Thanks!

bfortunato commented 8 years ago

OK Erik, tnx for your answer.

I’ve a problem evaluating babel/polyfill.js. The result is a infinite loop wait at the end of method (some finalize()?) Can you have a try?

Tnx so much for your time!

B

On 15 Mar 2016, at 11:38, Eric Lange notifications@github.com wrote:

Hi

The native JNI code lives in the webkit branch: https://github.com/ericwlange/webkit/tree/82034b2c34d7fb11de50d7bc53de6c1aabbc574b/Source/JavaScriptCore/android https://github.com/ericwlange/webkit/tree/82034b2c34d7fb11de50d7bc53de6c1aabbc574b/Source/JavaScriptCore/android Let me know if there is anything I can do to help.

Thanks!

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-196760379 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-196760379

ericwlange commented 8 years ago

I would need to see which implementation of polyfill.js you are using. But this is an npm module, no? AndroidJSCore is an implementation of pure JavaScript. It is not a port of Node, so require or _dereq_ will either not work or not do what you expect. If you are using a browser implementation, then that problem goes away, but it depends on what else it uses. Do you have a link to the exact implementation you are trying to use?

Another suggestion is to try and use the 2.0 release. There has been another raised issue where deadlocking has been reported in 2.1. I haven't had time to debug yet, but this issue did not exist in 2.0.

bfortunato commented 8 years ago

resolved with polyfill. I’ve another problem.

How to work with byte arrays?

On 16 Mar 2016, at 05:32, Eric Lange notifications@github.com wrote:

I would need to see which implementation of polyfill.js you are using. But this is an npm module, no? AndroidJSCore is an implementation of pure JavaScript. It is not a port of Node, so require or dereq will either not work or not do what you expect. If you are using a browser implementation, then that problem goes away, but it depends on what else it uses. Do you have a link to the exact implementation you are trying to use?

Another suggestion is to try and use the 2.0 release. There has been another raised issue where deadlocking has been reported in 2.1. I haven't had time to debug yet, but this issue did not exist in 2.0.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-197148252

ericwlange commented 8 years ago

Typed arrays are completely missed in AndroidJSCore. Thanks for the suggestion. I will add support.

As a workaround, I recommend passing a string using base64 encoding and converting in JS.

Can you post or link polyfill? I would like to debug the hanging issue.

Thanks.

ericwlange commented 8 years ago

I have created a 2.2 pre-release. Let me know if that has any impact on the hanging problem.

bfortunato commented 8 years ago

ok, tnx :)On 01 May 2016, at 05:52, Eric Lange notifications@github.com wrote:I have created a 2.2 pre-release. Let me know if that has any impact on the hanging problem.—You are receiving this because you authored the thread.Reply to this email directly or view it on GitHub

ericwlange commented 8 years ago

This bug is now almost certainly fixed. Please try 2.2-pre2 and see if your problem goes away.

bfortunato commented 8 years ago

Tnx

-------- Original message --------From: Eric Lange notifications@github.com Date: 5/22/16 13:15 (GMT+01:00) To: ericwlange/AndroidJSCore AndroidJSCore@noreply.github.com Cc: Bruno bruno.fortunato@applicadoit.com, Author author@noreply.github.com Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14) This bug is now almost certainly fixed. Please try 2.2-pre2 and see if your problem goes away.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub

bfortunato commented 8 years ago

Hi Eric.

tnx for your job but it doesn’t work. I’m creating a complex mobile framework for ios and android.

iOS works perfectly but on android I’ve a lot of crashes, deadlooks (also with 2.2 pre2) and so on.

I’m trying to build webkit to write my js engine in C++. I’m also trying with V8.

I’ve a strong programming skills and if you want I will help you fixing your great job.

Tnx for all

Bruno

On 22 May 2016, at 13:42, bruno.fortunato bruno.fortunato@applica.guru wrote:

Tnx

-------- Original message -------- From: Eric Lange notifications@github.com Date: 5/22/16 13:15 (GMT+01:00) To: ericwlange/AndroidJSCore AndroidJSCore@noreply.github.com Cc: Bruno bruno.fortunato@applicadoit.com, Author author@noreply.github.com Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14)

This bug is now almost certainly fixed. Please try 2.2-pre2 and see if your problem goes away.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-220826881

ericwlange commented 8 years ago

Hi Bruno,

By all means please contribute to the project! What problems are you having specifically? Over the past few weeks I have been writing a more detailed unit testing app, and it has uncovered literally dozens of bugs. I have fixed many of them and am in the process of fixing a few more. Mostly they fall into the categories of memory leaks and inconsistent behavior between JavaScript and Java. I have not experienced any more deadlocks since 2.2 pre2, so if you have something you can share that hangs, I'd be happy to look into it.

Eric

ericwlange commented 8 years ago

Please try version 3.0-pre1. I have fixed a zillion stability and memory leak issues. It should resolve your crashes. Please let me know if it solves your issues.

bfortunato commented 8 years ago

Of course eric.

Tnx so much

On 06 Jun 2016, at 05:38, Eric Lange notifications@github.com wrote:

Please try version 3.0-pre1. I have fixed a zillion stability and memory leak issues. It should resolve your crashes. Please let me know if it solves your issues.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-223862372, or mute the thread https://github.com/notifications/unsubscribe/AA1HipLkWP2GDw5k8eiGXaWOO6YDg4eeks5qI5YqgaJpZM4Hw0Yv.

ericwlange commented 8 years ago

Hanging fixed for real in 3.0-pre2. If you continue having problems, be sure to only call JS from outside the UI thread.

bfortunato commented 8 years ago

Tnx.

I’ll test it soon

On 12 Jul 2016, at 05:30, Eric Lange notifications@github.com wrote:

Hanging fixed for real in 3.0-pre2. If you continue having problems, be sure to only call JS from outside the UI thread.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-231928420, or mute the thread https://github.com/notifications/unsubscribe/AA1Hivz8Sv_kDlcB_Qgu6PJNNF_7ydy8ks5qUwpkgaJpZM4Hw0Yv.

bfortunato commented 8 years ago

Erik, I can’t find packages on new release.

On 12 Jul 2016, at 05:30, Eric Lange notifications@github.com wrote:

Hanging fixed for real in 3.0-pre2. If you continue having problems, be sure to only call JS from outside the UI thread.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-231928420, or mute the thread https://github.com/notifications/unsubscribe/AA1Hivz8Sv_kDlcB_Qgu6PJNNF_7ydy8ks5qUwpkgaJpZM4Hw0Yv.

ericwlange commented 8 years ago

Sorry, I'm not sure I understand. What's the error message?

On Wednesday, July 13, 2016, Bruno notifications@github.com wrote:

Erik, I can’t find packages on new release.

On 12 Jul 2016, at 05:30, Eric Lange <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');> wrote:

Hanging fixed for real in 3.0-pre2. If you continue having problems, be sure to only call JS from outside the UI thread.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-231928420>, or mute the thread < https://github.com/notifications/unsubscribe/AA1Hivz8Sv_kDlcB_Qgu6PJNNF_7ydy8ks5qUwpkgaJpZM4Hw0Yv .

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232385608, or mute the thread https://github.com/notifications/unsubscribe/ABIuZFIsebv40NjTgMWCrXcySJsUJQ69ks5qVP-CgaJpZM4Hw0Yv .

bfortunato commented 8 years ago

I can't find library classes like JSValue, JSContext... The only available class is org.liquidplayer.hemroid.R -------- Original message --------From: Eric Lange notifications@github.com Date: 7/14/16 07:28 (GMT+01:00) To: ericwlange/AndroidJSCore AndroidJSCore@noreply.github.com Cc: Bruno bruno.fortunato@applica.guru, Author author@noreply.github.com Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14) Sorry, I'm not sure I understand. What's the error message?

On Wednesday, July 13, 2016, Bruno notifications@github.com wrote:

Erik, I can’t find packages on new release.

On 12 Jul 2016, at 05:30, Eric Lange <notifications@github.com

javascript:_e(%7B%7D,'cvml','notifications@github.com');> wrote:

Hanging fixed for real in 3.0-pre2. If you continue having problems, be

sure to only call JS from outside the UI thread.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-231928420>,

or mute the thread <

https://github.com/notifications/unsubscribe/AA1Hivz8Sv_kDlcB_Qgu6PJNNF_7ydy8ks5qUwpkgaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232385608,

or mute the thread

https://github.com/notifications/unsubscribe/ABIuZFIsebv40NjTgMWCrXcySJsUJQ69ks5qVP-CgaJpZM4Hw0Yv

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

ericwlange commented 8 years ago

You are looking at 3.0-pre2? Someone else reported this problem with the previous version, but I changed what I thought was causing it, and others are not reporting it. Can you send me your build.gradle?

bfortunato commented 8 years ago

Here build.gradle

apply plugin: 'com.android.library'

android { compileSdkVersion 23 buildToolsVersion "23.0.2"

defaultConfig {
    minSdkVersion 16
    targetSdkVersion 23
    versionCode 1
    versionName "1.0"
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}
packagingOptions {
    exclude 'META-INF/DEPENDENCIES.txt'
    exclude 'META-INF/LICENSE.txt'
    exclude 'META-INF/NOTICE.txt'
    exclude 'META-INF/NOTICE'
    exclude 'META-INF/LICENSE'
    exclude 'META-INF/DEPENDENCIES'
    exclude 'META-INF/notice.txt'
    exclude 'META-INF/license.txt'
    exclude 'META-INF/dependencies.txt'
    exclude 'META-INF/LGPL2.1'
}

sourceSets {
    main {
        jni.srcDirs = [] //disable automatic ndk-build
        jniLibs.srcDirs = ['src/main/libs']
    }
}

}

dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile(name: 'AndroidJSCore-3.0-pre2-release', ext: 'aar') compile 'com.android.support:appcompat-v7:23.1.1' compile ('io.socket:socket.io-client:0.7.0') { exclude group: 'org.json', module: 'json' } compile project(':applica-framework') testCompile 'junit:junit:4.12' androidTestCompile 'junit:junit:4.12'

}

and here a file that use your library

On 15 Jul 2016, at 07:04, Eric Lange notifications@github.com wrote:

You are looking at 3.0-pre2 https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0-pre2? Someone else reported this problem with the previous version, but I changed what I thought was causing it, and others are not reporting it. Can you send me your build.gradle?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232860427, or mute the thread https://github.com/notifications/unsubscribe-auth/AA1HiiqvmJzE3AICeMxkhmZ1YzCnf-dOks5qVxTggaJpZM4Hw0Yv.

ericwlange commented 8 years ago

Can you try the latest release using jitpack?

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0.0

Let me know if the problem still persists. Thanks.

On Fri, Jul 15, 2016 at 2:32 PM, Bruno notifications@github.com wrote:

Here build.gradle

apply plugin: 'com.android.library'

android { compileSdkVersion 23 buildToolsVersion "23.0.2"

defaultConfig { minSdkVersion 16 targetSdkVersion 23 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), ' proguard-rules.pro' } } packagingOptions { exclude 'META-INF/DEPENDENCIES.txt' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE' exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/notice.txt' exclude 'META-INF/license.txt' exclude 'META-INF/dependencies.txt' exclude 'META-INF/LGPL2.1' }

sourceSets { main { jni.srcDirs = [] //disable automatic ndk-build jniLibs.srcDirs = ['src/main/libs'] } } }

dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile(name: 'AndroidJSCore-3.0-pre2-release', ext: 'aar') compile 'com.android.support:appcompat-v7:23.1.1' compile ('io.socket:socket.io-client:0.7.0') { exclude group: 'org.json', module: 'json' } compile project(':applica-framework') testCompile 'junit:junit:4.12' androidTestCompile 'junit:junit:4.12'

}

and here a file that use your library

On 15 Jul 2016, at 07:04, Eric Lange notifications@github.com wrote:

You are looking at 3.0-pre2 < https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0-pre2>? Someone else reported this problem with the previous version, but I changed what I thought was causing it, and others are not reporting it. Can you send me your build.gradle?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232860427>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AA1HiiqvmJzE3AICeMxkhmZ1YzCnf-dOks5qVxTggaJpZM4Hw0Yv .

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232899797, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIuZMgVm2JGszuvOhLHx9NnRt3uLAP_ks5qV0yogaJpZM4Hw0Yv .

bfortunato commented 8 years ago

All classes has private access.

Cannot use it. I’m sorry.

Let me now if you need more tests.

On 27 Jul 2016, at 18:36, Eric Lange notifications@github.com wrote:

Can you try the latest release using jitpack?

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0.0

Let me know if the problem still persists. Thanks.

On Fri, Jul 15, 2016 at 2:32 PM, Bruno notifications@github.com wrote:

Here build.gradle

apply plugin: 'com.android.library'

android { compileSdkVersion 23 buildToolsVersion "23.0.2"

defaultConfig { minSdkVersion 16 targetSdkVersion 23 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), ' proguard-rules.pro' } } packagingOptions { exclude 'META-INF/DEPENDENCIES.txt' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE' exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/notice.txt' exclude 'META-INF/license.txt' exclude 'META-INF/dependencies.txt' exclude 'META-INF/LGPL2.1' }

sourceSets { main { jni.srcDirs = [] //disable automatic ndk-build jniLibs.srcDirs = ['src/main/libs'] } } }

dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile(name: 'AndroidJSCore-3.0-pre2-release', ext: 'aar') compile 'com.android.support:appcompat-v7:23.1.1' compile ('io.socket:socket.io-client:0.7.0') { exclude group: 'org.json', module: 'json' } compile project(':applica-framework') testCompile 'junit:junit:4.12' androidTestCompile 'junit:junit:4.12'

}

and here a file that use your library

On 15 Jul 2016, at 07:04, Eric Lange notifications@github.com wrote:

You are looking at 3.0-pre2 < https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0-pre2>? Someone else reported this problem with the previous version, but I changed what I thought was causing it, and others are not reporting it. Can you send me your build.gradle?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232860427>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AA1HiiqvmJzE3AICeMxkhmZ1YzCnf-dOks5qVxTggaJpZM4Hw0Yv .

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232899797, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIuZMgVm2JGszuvOhLHx9NnRt3uLAP_ks5qV0yogaJpZM4Hw0Yv .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-235643892, or mute the thread https://github.com/notifications/unsubscribe-auth/AA1HigfJCJljOAUP8PbOfHLoCaCNA_v_ks5qZ4kUgaJpZM4Hw0Yv.

ericwlange commented 8 years ago

Ok, I am confused.

If you (fresh) clone the repo, are you able run the example app?

On Fri, Jul 29, 2016 at 2:40 PM, Bruno notifications@github.com wrote:

All classes has private access.

Cannot use it. I’m sorry.

Let me now if you need more tests.

On 27 Jul 2016, at 18:36, Eric Lange notifications@github.com wrote:

Can you try the latest release using jitpack?

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0.0

Let me know if the problem still persists. Thanks.

On Fri, Jul 15, 2016 at 2:32 PM, Bruno notifications@github.com wrote:

Here build.gradle

apply plugin: 'com.android.library'

android { compileSdkVersion 23 buildToolsVersion "23.0.2"

defaultConfig { minSdkVersion 16 targetSdkVersion 23 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), ' proguard-rules.pro' } } packagingOptions { exclude 'META-INF/DEPENDENCIES.txt' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE' exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/notice.txt' exclude 'META-INF/license.txt' exclude 'META-INF/dependencies.txt' exclude 'META-INF/LGPL2.1' }

sourceSets { main { jni.srcDirs = [] //disable automatic ndk-build jniLibs.srcDirs = ['src/main/libs'] } } }

dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile(name: 'AndroidJSCore-3.0-pre2-release', ext: 'aar') compile 'com.android.support:appcompat-v7:23.1.1' compile ('io.socket:socket.io-client:0.7.0') { exclude group: 'org.json', module: 'json' } compile project(':applica-framework') testCompile 'junit:junit:4.12' androidTestCompile 'junit:junit:4.12'

}

and here a file that use your library

On 15 Jul 2016, at 07:04, Eric Lange notifications@github.com wrote:

You are looking at 3.0-pre2 < https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0-pre2>? Someone else reported this problem with the previous version, but I changed what I thought was causing it, and others are not reporting it. Can you send me your build.gradle?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232860427 , or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HiiqvmJzE3AICeMxkhmZ1YzCnf-dOks5qVxTggaJpZM4Hw0Yv

.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub < https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232899797 , or mute the thread < https://github.com/notifications/unsubscribe-auth/ABIuZMgVm2JGszuvOhLHx9NnRt3uLAP_ks5qV0yogaJpZM4Hw0Yv

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-235643892>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AA1HigfJCJljOAUP8PbOfHLoCaCNA_v_ks5qZ4kUgaJpZM4Hw0Yv .

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236132326, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIuZMbYBT1jUtGMGUx6DX10teSidDBAks5qacOagaJpZM4Hw0Yv .

bfortunato commented 8 years ago

If you have time i can show you.  Take my Skype contact davil83 -------- Original message --------From: Eric Lange notifications@github.com Date: 7/30/16 04:54 (GMT+01:00) To: ericwlange/AndroidJSCore AndroidJSCore@noreply.github.com Cc: Bruno bruno.fortunato@applica.guru, Author author@noreply.github.com Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14) Ok, I am confused.

If you (fresh) clone the repo, are you able run the example app?

On Fri, Jul 29, 2016 at 2:40 PM, Bruno notifications@github.com wrote:

All classes has private access.

Cannot use it.

I’m sorry.

Let me now if you need more tests.

On 27 Jul 2016, at 18:36, Eric Lange notifications@github.com wrote:

Can you try the latest release using jitpack?

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0.0

Let me know if the problem still persists. Thanks.

On Fri, Jul 15, 2016 at 2:32 PM, Bruno notifications@github.com wrote:

Here build.gradle

apply plugin: 'com.android.library'

android {

compileSdkVersion 23

buildToolsVersion "23.0.2"

defaultConfig {

minSdkVersion 16

targetSdkVersion 23

versionCode 1

versionName "1.0"

testInstrumentationRunner

"android.support.test.runner.AndroidJUnitRunner"

}

buildTypes {

release {

minifyEnabled false

proguardFiles getDefaultProguardFile('proguard-android.txt'), '

proguard-rules.pro'

}

}

packagingOptions {

exclude 'META-INF/DEPENDENCIES.txt'

exclude 'META-INF/LICENSE.txt'

exclude 'META-INF/NOTICE.txt'

exclude 'META-INF/NOTICE'

exclude 'META-INF/LICENSE'

exclude 'META-INF/DEPENDENCIES'

exclude 'META-INF/notice.txt'

exclude 'META-INF/license.txt'

exclude 'META-INF/dependencies.txt'

exclude 'META-INF/LGPL2.1'

}

sourceSets {

main {

jni.srcDirs = [] //disable automatic ndk-build

jniLibs.srcDirs = ['src/main/libs']

}

}

}

dependencies {

compile fileTree(dir: 'libs', include: ['*.jar'])

compile(name: 'AndroidJSCore-3.0-pre2-release', ext: 'aar')

compile 'com.android.support:appcompat-v7:23.1.1'

compile ('io.socket:socket.io-client:0.7.0') {

exclude group: 'org.json', module: 'json'

}

compile project(':applica-framework')

testCompile 'junit:junit:4.12'

androidTestCompile 'junit:junit:4.12'

}

and here a file that use your library

On 15 Jul 2016, at 07:04, Eric Lange notifications@github.com

wrote:

You are looking at 3.0-pre2 <

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0-pre2>?

Someone else reported this problem with the previous version, but I

changed

what I thought was causing it, and others are not reporting it. Can you

send me your build.gradle?

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232860427

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HiiqvmJzE3AICeMxkhmZ1YzCnf-dOks5qVxTggaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

<

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232899797

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/ABIuZMgVm2JGszuvOhLHx9NnRt3uLAP_ks5qV0yogaJpZM4Hw0Yv

.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-235643892>,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HigfJCJljOAUP8PbOfHLoCaCNA_v_ks5qZ4kUgaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236132326,

or mute the thread

https://github.com/notifications/unsubscribe-auth/ABIuZMbYBT1jUtGMGUx6DX10teSidDBAks5qacOagaJpZM4Hw0Yv

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

ericwlange commented 8 years ago

I scoured StackOverflow trying to find references to what you are experiencing. Here are some things to try:

  1. Make sure you are using the latest release 3.0.1 at JitPack.io: https://jitpack.io/#ericwlange/AndroidJSCore/3.0.1 (and make sure you delete the old versions from your tree)
  2. Be sure to 'clean' your project completely

The most likely culprit is that some dependency is not included in your app. Pulling directly from JitPack should solve that. Using the .aar directly ignores the .pom file which makes sure all dependencies are loaded.

If the above fails, see if you have appcompat-v7 included. It is a dependency. Make sure:

compile 'com.android.support:appcompat-v7:24.1.1'

is there. You shouldn't have to do this, but I am grasping at straws here.

Would be interested if any of the above solves the issue and which one.

Where are you located? We will have to align timezones if none of this works. I am currently based in India.

On Sat, Jul 30, 2016 at 12:40 PM, Bruno notifications@github.com wrote:

If you have time i can show you. Take my Skype contact davil83 -------- Original message --------From: Eric Lange < notifications@github.com> Date: 7/30/16 04:54 (GMT+01:00) To: ericwlange/AndroidJSCore AndroidJSCore@noreply.github.com Cc: Bruno bruno.fortunato@applica.guru, Author author@noreply.github.com Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14) Ok, I am confused.

If you (fresh) clone the repo, are you able run the example app?

On Fri, Jul 29, 2016 at 2:40 PM, Bruno notifications@github.com wrote:

All classes has private access.

Cannot use it.

I’m sorry.

Let me now if you need more tests.

On 27 Jul 2016, at 18:36, Eric Lange notifications@github.com wrote:

Can you try the latest release using jitpack?

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0.0

Let me know if the problem still persists. Thanks.

On Fri, Jul 15, 2016 at 2:32 PM, Bruno notifications@github.com wrote:

Here build.gradle

apply plugin: 'com.android.library'

android {

compileSdkVersion 23

buildToolsVersion "23.0.2"

defaultConfig {

minSdkVersion 16

targetSdkVersion 23

versionCode 1

versionName "1.0"

testInstrumentationRunner

"android.support.test.runner.AndroidJUnitRunner"

}

buildTypes {

release {

minifyEnabled false

proguardFiles getDefaultProguardFile('proguard-android.txt'), '

proguard-rules.pro'

}

}

packagingOptions {

exclude 'META-INF/DEPENDENCIES.txt'

exclude 'META-INF/LICENSE.txt'

exclude 'META-INF/NOTICE.txt'

exclude 'META-INF/NOTICE'

exclude 'META-INF/LICENSE'

exclude 'META-INF/DEPENDENCIES'

exclude 'META-INF/notice.txt'

exclude 'META-INF/license.txt'

exclude 'META-INF/dependencies.txt'

exclude 'META-INF/LGPL2.1'

}

sourceSets {

main {

jni.srcDirs = [] //disable automatic ndk-build

jniLibs.srcDirs = ['src/main/libs']

}

}

}

dependencies {

compile fileTree(dir: 'libs', include: ['*.jar'])

compile(name: 'AndroidJSCore-3.0-pre2-release', ext: 'aar')

compile 'com.android.support:appcompat-v7:23.1.1'

compile ('io.socket:socket.io-client:0.7.0') {

exclude group: 'org.json', module: 'json'

}

compile project(':applica-framework')

testCompile 'junit:junit:4.12'

androidTestCompile 'junit:junit:4.12'

}

and here a file that use your library

On 15 Jul 2016, at 07:04, Eric Lange notifications@github.com

wrote:

You are looking at 3.0-pre2 <

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0-pre2>?

Someone else reported this problem with the previous version, but I

changed

what I thought was causing it, and others are not reporting it. Can you

send me your build.gradle?

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232860427

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HiiqvmJzE3AICeMxkhmZ1YzCnf-dOks5qVxTggaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

<

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232899797

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/ABIuZMgVm2JGszuvOhLHx9NnRt3uLAP_ks5qV0yogaJpZM4Hw0Yv

.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-235643892 ,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HigfJCJljOAUP8PbOfHLoCaCNA_v_ks5qZ4kUgaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

< https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236132326 ,

or mute the thread

< https://github.com/notifications/unsubscribe-auth/ABIuZMbYBT1jUtGMGUx6DX10teSidDBAks5qacOagaJpZM4Hw0Yv

.

— You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236349732, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIuZE6Qdzz_EnpGX609O2xSdp6CavUEks5qavjmgaJpZM4Hw0Yv .

bfortunato commented 8 years ago

Ok.  I'll try  in few hours.  I'm from Italy -------- Original message --------From: Eric Lange notifications@github.com Date: 7/30/16 14:03 (GMT+01:00) To: ericwlange/AndroidJSCore AndroidJSCore@noreply.github.com Cc: Bruno bruno.fortunato@applica.guru, Author author@noreply.github.com Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14) I scoured StackOverflow trying to find references to what you are

experiencing. Here are some things to try:

  1. Make sure you are using the latest release 3.0.1 at JitPack.io:

https://jitpack.io/#ericwlange/AndroidJSCore/3.0.1 (and make sure you

delete the old versions from your tree)

  1. Be sure to 'clean' your project completely

The most likely culprit is that some dependency is not included in your

app. Pulling directly from JitPack should solve that. Using the .aar

directly ignores the .pom file which makes sure all dependencies are loaded.

If the above fails, see if you have appcompat-v7 included. It is a

dependency. Make sure:

compile 'com.android.support:appcompat-v7:24.1.1'

is there. You shouldn't have to do this, but I am grasping at straws here.

Would be interested if any of the above solves the issue and which one.

Where are you located? We will have to align timezones if none of

this works. I am currently based in India.

On Sat, Jul 30, 2016 at 12:40 PM, Bruno notifications@github.com wrote:

If you have time i can show you.

Take my Skype contact

davil83

-------- Original message --------From: Eric Lange <

notifications@github.com> Date: 7/30/16 04:54 (GMT+01:00) To:

ericwlange/AndroidJSCore AndroidJSCore@noreply.github.com Cc: Bruno

bruno.fortunato@applica.guru, Author author@noreply.github.com

Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14)

Ok, I am confused.

If you (fresh) clone the repo, are you able run the example app?

On Fri, Jul 29, 2016 at 2:40 PM, Bruno notifications@github.com wrote:

All classes has private access.

Cannot use it.

I’m sorry.

Let me now if you need more tests.

On 27 Jul 2016, at 18:36, Eric Lange notifications@github.com wrote:

Can you try the latest release using jitpack?

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0.0

Let me know if the problem still persists. Thanks.

On Fri, Jul 15, 2016 at 2:32 PM, Bruno notifications@github.com

wrote:

Here build.gradle

apply plugin: 'com.android.library'

android {

compileSdkVersion 23

buildToolsVersion "23.0.2"

defaultConfig {

minSdkVersion 16

targetSdkVersion 23

versionCode 1

versionName "1.0"

testInstrumentationRunner

"android.support.test.runner.AndroidJUnitRunner"

}

buildTypes {

release {

minifyEnabled false

proguardFiles getDefaultProguardFile('proguard-android.txt'), '

proguard-rules.pro'

}

}

packagingOptions {

exclude 'META-INF/DEPENDENCIES.txt'

exclude 'META-INF/LICENSE.txt'

exclude 'META-INF/NOTICE.txt'

exclude 'META-INF/NOTICE'

exclude 'META-INF/LICENSE'

exclude 'META-INF/DEPENDENCIES'

exclude 'META-INF/notice.txt'

exclude 'META-INF/license.txt'

exclude 'META-INF/dependencies.txt'

exclude 'META-INF/LGPL2.1'

}

sourceSets {

main {

jni.srcDirs = [] //disable automatic ndk-build

jniLibs.srcDirs = ['src/main/libs']

}

}

}

dependencies {

compile fileTree(dir: 'libs', include: ['*.jar'])

compile(name: 'AndroidJSCore-3.0-pre2-release', ext: 'aar')

compile 'com.android.support:appcompat-v7:23.1.1'

compile ('io.socket:socket.io-client:0.7.0') {

exclude group: 'org.json', module: 'json'

}

compile project(':applica-framework')

testCompile 'junit:junit:4.12'

androidTestCompile 'junit:junit:4.12'

}

and here a file that use your library

On 15 Jul 2016, at 07:04, Eric Lange notifications@github.com

wrote:

You are looking at 3.0-pre2 <

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0-pre2>?

Someone else reported this problem with the previous version, but I

changed

what I thought was causing it, and others are not reporting it. Can

you

send me your build.gradle?

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232860427

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HiiqvmJzE3AICeMxkhmZ1YzCnf-dOks5qVxTggaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

<

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232899797

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/ABIuZMgVm2JGszuvOhLHx9NnRt3uLAP_ks5qV0yogaJpZM4Hw0Yv

.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-235643892

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HigfJCJljOAUP8PbOfHLoCaCNA_v_ks5qZ4kUgaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

<

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236132326

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/ABIuZMbYBT1jUtGMGUx6DX10teSidDBAks5qacOagaJpZM4Hw0Yv

.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub, or mute the thread.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236349732,

or mute the thread

https://github.com/notifications/unsubscribe-auth/ABIuZE6Qdzz_EnpGX609O2xSdp6CavUEks5qavjmgaJpZM4Hw0Yv

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

ericwlange commented 8 years ago

I'm now seeing this! It compiles just fine, but Android Studio lint says it can't resolve. Looking into it.

On Sat, Jul 30, 2016 at 6:13 PM, Bruno notifications@github.com wrote:

Ok. I'll try in few hours. I'm from Italy -------- Original message --------From: Eric Lange < notifications@github.com> Date: 7/30/16 14:03 (GMT+01:00) To: ericwlange/AndroidJSCore AndroidJSCore@noreply.github.com Cc: Bruno bruno.fortunato@applica.guru, Author author@noreply.github.com Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14) I scoured StackOverflow trying to find references to what you are

experiencing. Here are some things to try:

  1. Make sure you are using the latest release 3.0.1 at JitPack.io:

https://jitpack.io/#ericwlange/AndroidJSCore/3.0.1 (and make sure you

delete the old versions from your tree)

  1. Be sure to 'clean' your project completely

The most likely culprit is that some dependency is not included in your

app. Pulling directly from JitPack should solve that. Using the .aar

directly ignores the .pom file which makes sure all dependencies are loaded.

If the above fails, see if you have appcompat-v7 included. It is a

dependency. Make sure:

compile 'com.android.support:appcompat-v7:24.1.1'

is there. You shouldn't have to do this, but I am grasping at straws here.

Would be interested if any of the above solves the issue and which one.

Where are you located? We will have to align timezones if none of

this works. I am currently based in India.

On Sat, Jul 30, 2016 at 12:40 PM, Bruno notifications@github.com wrote:

If you have time i can show you.

Take my Skype contact

davil83

-------- Original message --------From: Eric Lange <

notifications@github.com> Date: 7/30/16 04:54 (GMT+01:00) To:

ericwlange/AndroidJSCore AndroidJSCore@noreply.github.com Cc: Bruno

bruno.fortunato@applica.guru, Author author@noreply.github.com

Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14)

Ok, I am confused.

If you (fresh) clone the repo, are you able run the example app?

On Fri, Jul 29, 2016 at 2:40 PM, Bruno notifications@github.com wrote:

All classes has private access.

Cannot use it.

I’m sorry.

Let me now if you need more tests.

On 27 Jul 2016, at 18:36, Eric Lange notifications@github.com wrote:

Can you try the latest release using jitpack?

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0.0

Let me know if the problem still persists. Thanks.

On Fri, Jul 15, 2016 at 2:32 PM, Bruno notifications@github.com

wrote:

Here build.gradle

apply plugin: 'com.android.library'

android {

compileSdkVersion 23

buildToolsVersion "23.0.2"

defaultConfig {

minSdkVersion 16

targetSdkVersion 23

versionCode 1

versionName "1.0"

testInstrumentationRunner

"android.support.test.runner.AndroidJUnitRunner"

}

buildTypes {

release {

minifyEnabled false

proguardFiles getDefaultProguardFile('proguard-android.txt'), '

proguard-rules.pro'

}

}

packagingOptions {

exclude 'META-INF/DEPENDENCIES.txt'

exclude 'META-INF/LICENSE.txt'

exclude 'META-INF/NOTICE.txt'

exclude 'META-INF/NOTICE'

exclude 'META-INF/LICENSE'

exclude 'META-INF/DEPENDENCIES'

exclude 'META-INF/notice.txt'

exclude 'META-INF/license.txt'

exclude 'META-INF/dependencies.txt'

exclude 'META-INF/LGPL2.1'

}

sourceSets {

main {

jni.srcDirs = [] //disable automatic ndk-build

jniLibs.srcDirs = ['src/main/libs']

}

}

}

dependencies {

compile fileTree(dir: 'libs', include: ['*.jar'])

compile(name: 'AndroidJSCore-3.0-pre2-release', ext: 'aar')

compile 'com.android.support:appcompat-v7:23.1.1'

compile ('io.socket:socket.io-client:0.7.0') {

exclude group: 'org.json', module: 'json'

}

compile project(':applica-framework')

testCompile 'junit:junit:4.12'

androidTestCompile 'junit:junit:4.12'

}

and here a file that use your library

On 15 Jul 2016, at 07:04, Eric Lange notifications@github.com

wrote:

You are looking at 3.0-pre2 <

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0-pre2 ?

Someone else reported this problem with the previous version, but I

changed

what I thought was causing it, and others are not reporting it. Can

you

send me your build.gradle?

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232860427

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HiiqvmJzE3AICeMxkhmZ1YzCnf-dOks5qVxTggaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

<

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232899797

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/ABIuZMgVm2JGszuvOhLHx9NnRt3uLAP_ks5qV0yogaJpZM4Hw0Yv

.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-235643892

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HigfJCJljOAUP8PbOfHLoCaCNA_v_ks5qZ4kUgaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

<

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236132326

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/ABIuZMbYBT1jUtGMGUx6DX10teSidDBAks5qacOagaJpZM4Hw0Yv

.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub, or mute the thread.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

< https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236349732 ,

or mute the thread

< https://github.com/notifications/unsubscribe-auth/ABIuZE6Qdzz_EnpGX609O2xSdp6CavUEks5qavjmgaJpZM4Hw0Yv

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236363266, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIuZKlW52Lp5k1gZY2bsD7wvnq_Efbjks5qa0cKgaJpZM4Hw0Yv .

ericwlange commented 8 years ago

Actually, no. I just restarted Android Studio and the problem went away.

On Sun, Jul 31, 2016 at 10:30 AM, Eric Lange eric@flicket.tv wrote:

I'm now seeing this! It compiles just fine, but Android Studio lint says it can't resolve. Looking into it.

On Sat, Jul 30, 2016 at 6:13 PM, Bruno notifications@github.com wrote:

Ok. I'll try in few hours. I'm from Italy -------- Original message --------From: Eric Lange < notifications@github.com> Date: 7/30/16 14:03 (GMT+01:00) To: ericwlange/AndroidJSCore AndroidJSCore@noreply.github.com Cc: Bruno bruno.fortunato@applica.guru, Author author@noreply.github.com Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14) I scoured StackOverflow trying to find references to what you are

experiencing. Here are some things to try:

  1. Make sure you are using the latest release 3.0.1 at JitPack.io:

https://jitpack.io/#ericwlange/AndroidJSCore/3.0.1 (and make sure you

delete the old versions from your tree)

  1. Be sure to 'clean' your project completely

The most likely culprit is that some dependency is not included in your

app. Pulling directly from JitPack should solve that. Using the .aar

directly ignores the .pom file which makes sure all dependencies are loaded.

If the above fails, see if you have appcompat-v7 included. It is a

dependency. Make sure:

compile 'com.android.support:appcompat-v7:24.1.1'

is there. You shouldn't have to do this, but I am grasping at straws here.

Would be interested if any of the above solves the issue and which one.

Where are you located? We will have to align timezones if none of

this works. I am currently based in India.

On Sat, Jul 30, 2016 at 12:40 PM, Bruno notifications@github.com wrote:

If you have time i can show you.

Take my Skype contact

davil83

-------- Original message --------From: Eric Lange <

notifications@github.com> Date: 7/30/16 04:54 (GMT+01:00) To:

ericwlange/AndroidJSCore AndroidJSCore@noreply.github.com Cc: Bruno

bruno.fortunato@applica.guru, Author author@noreply.github.com

Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14)

Ok, I am confused.

If you (fresh) clone the repo, are you able run the example app?

On Fri, Jul 29, 2016 at 2:40 PM, Bruno notifications@github.com wrote:

All classes has private access.

Cannot use it.

I’m sorry.

Let me now if you need more tests.

On 27 Jul 2016, at 18:36, Eric Lange notifications@github.com wrote:

Can you try the latest release using jitpack?

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0.0

Let me know if the problem still persists. Thanks.

On Fri, Jul 15, 2016 at 2:32 PM, Bruno notifications@github.com

wrote:

Here build.gradle

apply plugin: 'com.android.library'

android {

compileSdkVersion 23

buildToolsVersion "23.0.2"

defaultConfig {

minSdkVersion 16

targetSdkVersion 23

versionCode 1

versionName "1.0"

testInstrumentationRunner

"android.support.test.runner.AndroidJUnitRunner"

}

buildTypes {

release {

minifyEnabled false

proguardFiles getDefaultProguardFile('proguard-android.txt'), '

proguard-rules.pro'

}

}

packagingOptions {

exclude 'META-INF/DEPENDENCIES.txt'

exclude 'META-INF/LICENSE.txt'

exclude 'META-INF/NOTICE.txt'

exclude 'META-INF/NOTICE'

exclude 'META-INF/LICENSE'

exclude 'META-INF/DEPENDENCIES'

exclude 'META-INF/notice.txt'

exclude 'META-INF/license.txt'

exclude 'META-INF/dependencies.txt'

exclude 'META-INF/LGPL2.1'

}

sourceSets {

main {

jni.srcDirs = [] //disable automatic ndk-build

jniLibs.srcDirs = ['src/main/libs']

}

}

}

dependencies {

compile fileTree(dir: 'libs', include: ['*.jar'])

compile(name: 'AndroidJSCore-3.0-pre2-release', ext: 'aar')

compile 'com.android.support:appcompat-v7:23.1.1'

compile ('io.socket:socket.io-client:0.7.0') {

exclude group: 'org.json', module: 'json'

}

compile project(':applica-framework')

testCompile 'junit:junit:4.12'

androidTestCompile 'junit:junit:4.12'

}

and here a file that use your library

On 15 Jul 2016, at 07:04, Eric Lange notifications@github.com

wrote:

You are looking at 3.0-pre2 <

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0-pre2 ?

Someone else reported this problem with the previous version, but I

changed

what I thought was causing it, and others are not reporting it. Can

you

send me your build.gradle?

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232860427

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HiiqvmJzE3AICeMxkhmZ1YzCnf-dOks5qVxTggaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

<

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232899797

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/ABIuZMgVm2JGszuvOhLHx9NnRt3uLAP_ks5qV0yogaJpZM4Hw0Yv

.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-235643892

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HigfJCJljOAUP8PbOfHLoCaCNA_v_ks5qZ4kUgaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

<

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236132326

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/ABIuZMbYBT1jUtGMGUx6DX10teSidDBAks5qacOagaJpZM4Hw0Yv

.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub, or mute the thread.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

< https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236349732 ,

or mute the thread

< https://github.com/notifications/unsubscribe-auth/ABIuZE6Qdzz_EnpGX609O2xSdp6CavUEks5qavjmgaJpZM4Hw0Yv

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236363266, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIuZKlW52Lp5k1gZY2bsD7wvnq_Efbjks5qa0cKgaJpZM4Hw0Yv .

bfortunato commented 8 years ago

Hi erik, tnx for your job, but now your lib is not usable.

I’ve no problem with version 2, but with version 3.0.1 (from jitpack.io) I got the same problem.

On 31 Jul 2016, at 07:03, Eric Lange notifications@github.com wrote:

Actually, no. I just restarted Android Studio and the problem went away.

On Sun, Jul 31, 2016 at 10:30 AM, Eric Lange eric@flicket.tv wrote:

I'm now seeing this! It compiles just fine, but Android Studio lint says it can't resolve. Looking into it.

On Sat, Jul 30, 2016 at 6:13 PM, Bruno notifications@github.com wrote:

Ok. I'll try in few hours. I'm from Italy -------- Original message --------From: Eric Lange < notifications@github.com> Date: 7/30/16 14:03 (GMT+01:00) To: ericwlange/AndroidJSCore AndroidJSCore@noreply.github.com Cc: Bruno bruno.fortunato@applica.guru, Author author@noreply.github.com Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14) I scoured StackOverflow trying to find references to what you are

experiencing. Here are some things to try:

  1. Make sure you are using the latest release 3.0.1 at JitPack.io:

https://jitpack.io/#ericwlange/AndroidJSCore/3.0.1 (and make sure you

delete the old versions from your tree)

  1. Be sure to 'clean' your project completely

The most likely culprit is that some dependency is not included in your

app. Pulling directly from JitPack should solve that. Using the .aar

directly ignores the .pom file which makes sure all dependencies are loaded.

If the above fails, see if you have appcompat-v7 included. It is a

dependency. Make sure:

compile 'com.android.support:appcompat-v7:24.1.1'

is there. You shouldn't have to do this, but I am grasping at straws here.

Would be interested if any of the above solves the issue and which one.

Where are you located? We will have to align timezones if none of

this works. I am currently based in India.

On Sat, Jul 30, 2016 at 12:40 PM, Bruno notifications@github.com wrote:

If you have time i can show you.

Take my Skype contact

davil83

-------- Original message --------From: Eric Lange <

notifications@github.com> Date: 7/30/16 04:54 (GMT+01:00) To:

ericwlange/AndroidJSCore AndroidJSCore@noreply.github.com Cc: Bruno

bruno.fortunato@applica.guru, Author author@noreply.github.com

Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14)

Ok, I am confused.

If you (fresh) clone the repo, are you able run the example app?

On Fri, Jul 29, 2016 at 2:40 PM, Bruno notifications@github.com wrote:

All classes has private access.

Cannot use it.

I’m sorry.

Let me now if you need more tests.

On 27 Jul 2016, at 18:36, Eric Lange notifications@github.com wrote:

Can you try the latest release using jitpack?

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0.0

Let me know if the problem still persists. Thanks.

On Fri, Jul 15, 2016 at 2:32 PM, Bruno notifications@github.com

wrote:

Here build.gradle

apply plugin: 'com.android.library'

android {

compileSdkVersion 23

buildToolsVersion "23.0.2"

defaultConfig {

minSdkVersion 16

targetSdkVersion 23

versionCode 1

versionName "1.0"

testInstrumentationRunner

"android.support.test.runner.AndroidJUnitRunner"

}

buildTypes {

release {

minifyEnabled false

proguardFiles getDefaultProguardFile('proguard-android.txt'), '

proguard-rules.pro'

}

}

packagingOptions {

exclude 'META-INF/DEPENDENCIES.txt'

exclude 'META-INF/LICENSE.txt'

exclude 'META-INF/NOTICE.txt'

exclude 'META-INF/NOTICE'

exclude 'META-INF/LICENSE'

exclude 'META-INF/DEPENDENCIES'

exclude 'META-INF/notice.txt'

exclude 'META-INF/license.txt'

exclude 'META-INF/dependencies.txt'

exclude 'META-INF/LGPL2.1'

}

sourceSets {

main {

jni.srcDirs = [] //disable automatic ndk-build

jniLibs.srcDirs = ['src/main/libs']

}

}

}

dependencies {

compile fileTree(dir: 'libs', include: ['*.jar'])

compile(name: 'AndroidJSCore-3.0-pre2-release', ext: 'aar')

compile 'com.android.support:appcompat-v7:23.1.1'

compile ('io.socket:socket.io-client:0.7.0') {

exclude group: 'org.json', module: 'json'

}

compile project(':applica-framework')

testCompile 'junit:junit:4.12'

androidTestCompile 'junit:junit:4.12'

}

and here a file that use your library

On 15 Jul 2016, at 07:04, Eric Lange notifications@github.com

wrote:

You are looking at 3.0-pre2 <

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0-pre2 ?

Someone else reported this problem with the previous version, but I

changed

what I thought was causing it, and others are not reporting it. Can

you

send me your build.gradle?

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232860427

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HiiqvmJzE3AICeMxkhmZ1YzCnf-dOks5qVxTggaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

<

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232899797

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/ABIuZMgVm2JGszuvOhLHx9NnRt3uLAP_ks5qV0yogaJpZM4Hw0Yv

.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-235643892

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HigfJCJljOAUP8PbOfHLoCaCNA_v_ks5qZ4kUgaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

<

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236132326

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/ABIuZMbYBT1jUtGMGUx6DX10teSidDBAks5qacOagaJpZM4Hw0Yv

.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub, or mute the thread.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

< https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236349732 ,

or mute the thread

< https://github.com/notifications/unsubscribe-auth/ABIuZE6Qdzz_EnpGX609O2xSdp6CavUEks5qavjmgaJpZM4Hw0Yv

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236363266, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIuZKlW52Lp5k1gZY2bsD7wvnq_Efbjks5qa0cKgaJpZM4Hw0Yv .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236410545, or mute the thread https://github.com/notifications/unsubscribe-auth/AA1HiiaMXA5WMzTQvlBBXaTVZkO4L32Rks5qbCyagaJpZM4Hw0Yv.

bfortunato commented 8 years ago

Probably the problem is only on intellij

On 22 Aug 2016, at 12:48, Bruno Fortunato bruno.fortunato@applica.guru wrote:

Hi erik, tnx for your job, but now your lib is not usable.

I’ve no problem with version 2, but with version 3.0.1 (from jitpack.io http://jitpack.io/) I got the same problem.

<Screen Shot 2016-08-22 at 12.44.44.png>

On 31 Jul 2016, at 07:03, Eric Lange <notifications@github.com mailto:notifications@github.com> wrote:

Actually, no. I just restarted Android Studio and the problem went away.

On Sun, Jul 31, 2016 at 10:30 AM, Eric Lange <eric@flicket.tv mailto:eric@flicket.tv> wrote:

I'm now seeing this! It compiles just fine, but Android Studio lint says it can't resolve. Looking into it.

On Sat, Jul 30, 2016 at 6:13 PM, Bruno <notifications@github.com mailto:notifications@github.com> wrote:

Ok. I'll try in few hours. I'm from Italy -------- Original message --------From: Eric Lange < notifications@github.com mailto:notifications@github.com> Date: 7/30/16 14:03 (GMT+01:00) To: ericwlange/AndroidJSCore <AndroidJSCore@noreply.github.com mailto:AndroidJSCore@noreply.github.com> Cc: Bruno <bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru>, Author <author@noreply.github.com mailto:author@noreply.github.com> Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14) I scoured StackOverflow trying to find references to what you are

experiencing. Here are some things to try:

  1. Make sure you are using the latest release 3.0.1 at JitPack.io http://jitpack.io/:

https://jitpack.io/#ericwlange/AndroidJSCore/3.0.1 https://jitpack.io/#ericwlange/AndroidJSCore/3.0.1 (and make sure you

delete the old versions from your tree)

  1. Be sure to 'clean' your project completely

The most likely culprit is that some dependency is not included in your

app. Pulling directly from JitPack should solve that. Using the .aar

directly ignores the .pom file which makes sure all dependencies are loaded.

If the above fails, see if you have appcompat-v7 included. It is a

dependency. Make sure:

compile 'com.android.support:appcompat-v7:24.1.1'

is there. You shouldn't have to do this, but I am grasping at straws here.

Would be interested if any of the above solves the issue and which one.

Where are you located? We will have to align timezones if none of

this works. I am currently based in India.

On Sat, Jul 30, 2016 at 12:40 PM, Bruno <notifications@github.com mailto:notifications@github.com> wrote:

If you have time i can show you.

Take my Skype contact

davil83

-------- Original message --------From: Eric Lange <

notifications@github.com mailto:notifications@github.com> Date: 7/30/16 04:54 (GMT+01:00) To:

ericwlange/AndroidJSCore <AndroidJSCore@noreply.github.com mailto:AndroidJSCore@noreply.github.com> Cc: Bruno

<bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru>, Author <author@noreply.github.com mailto:author@noreply.github.com>

Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14)

Ok, I am confused.

If you (fresh) clone the repo, are you able run the example app?

On Fri, Jul 29, 2016 at 2:40 PM, Bruno <notifications@github.com mailto:notifications@github.com> wrote:

All classes has private access.

Cannot use it.

I’m sorry.

Let me now if you need more tests.

On 27 Jul 2016, at 18:36, Eric Lange <notifications@github.com mailto:notifications@github.com> wrote:

Can you try the latest release using jitpack?

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0.0 https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0.0

Let me know if the problem still persists. Thanks.

On Fri, Jul 15, 2016 at 2:32 PM, Bruno <notifications@github.com mailto:notifications@github.com>

wrote:

Here build.gradle

apply plugin: 'com.android.library'

android {

compileSdkVersion 23

buildToolsVersion "23.0.2"

defaultConfig {

minSdkVersion 16

targetSdkVersion 23

versionCode 1

versionName "1.0"

testInstrumentationRunner

"android.support.test.runner.AndroidJUnitRunner"

}

buildTypes {

release {

minifyEnabled false

proguardFiles getDefaultProguardFile('proguard-android.txt'), '

proguard-rules.pro'

}

}

packagingOptions {

exclude 'META-INF/DEPENDENCIES.txt'

exclude 'META-INF/LICENSE.txt'

exclude 'META-INF/NOTICE.txt'

exclude 'META-INF/NOTICE'

exclude 'META-INF/LICENSE'

exclude 'META-INF/DEPENDENCIES'

exclude 'META-INF/notice.txt'

exclude 'META-INF/license.txt'

exclude 'META-INF/dependencies.txt'

exclude 'META-INF/LGPL2.1'

}

sourceSets {

main {

jni.srcDirs = [] //disable automatic ndk-build

jniLibs.srcDirs = ['src/main/libs']

}

}

}

dependencies {

compile fileTree(dir: 'libs', include: ['*.jar'])

compile(name: 'AndroidJSCore-3.0-pre2-release', ext: 'aar')

compile 'com.android.support:appcompat-v7:23.1.1'

compile ('io.socket:socket.io-client:0.7.0') {

exclude group: 'org.json', module: 'json'

}

compile project(':applica-framework')

testCompile 'junit:junit:4.12'

androidTestCompile 'junit:junit:4.12'

}

and here a file that use your library

On 15 Jul 2016, at 07:04, Eric Lange <notifications@github.com mailto:notifications@github.com>

wrote:

You are looking at 3.0-pre2 <

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0-pre2 https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0-pre2 ?

Someone else reported this problem with the previous version, but I

changed

what I thought was causing it, and others are not reporting it. Can

you

send me your build.gradle?

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232860427 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232860427

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HiiqvmJzE3AICeMxkhmZ1YzCnf-dOks5qVxTggaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/AA1HiiqvmJzE3AICeMxkhmZ1YzCnf-dOks5qVxTggaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

<

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232899797 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232899797

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/ABIuZMgVm2JGszuvOhLHx9NnRt3uLAP_ks5qV0yogaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZMgVm2JGszuvOhLHx9NnRt3uLAP_ks5qV0yogaJpZM4Hw0Yv

.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-235643892 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-235643892

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HigfJCJljOAUP8PbOfHLoCaCNA_v_ks5qZ4kUgaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/AA1HigfJCJljOAUP8PbOfHLoCaCNA_v_ks5qZ4kUgaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

<

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236132326 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236132326

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/ABIuZMbYBT1jUtGMGUx6DX10teSidDBAks5qacOagaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZMbYBT1jUtGMGUx6DX10teSidDBAks5qacOagaJpZM4Hw0Yv

.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub, or mute the thread.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

< https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236349732 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236349732 ,

or mute the thread

< https://github.com/notifications/unsubscribe-auth/ABIuZE6Qdzz_EnpGX609O2xSdp6CavUEks5qavjmgaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZE6Qdzz_EnpGX609O2xSdp6CavUEks5qavjmgaJpZM4Hw0Yv

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236363266 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236363266>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ABIuZKlW52Lp5k1gZY2bsD7wvnq_Efbjks5qa0cKgaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZKlW52Lp5k1gZY2bsD7wvnq_Efbjks5qa0cKgaJpZM4Hw0Yv> .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236410545, or mute the thread https://github.com/notifications/unsubscribe-auth/AA1HiiaMXA5WMzTQvlBBXaTVZkO4L32Rks5qbCyagaJpZM4Hw0Yv.

bfortunato commented 8 years ago

Yes, it’s android studio, but it makes impossible to work with all of that errors. I’m trying with a new project.

On 22 Aug 2016, at 13:00, Bruno Fortunato bruno.fortunato@applica.guru wrote:

Probably the problem is only on intellij

On 22 Aug 2016, at 12:48, Bruno Fortunato <bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru> wrote:

Hi erik, tnx for your job, but now your lib is not usable.

I’ve no problem with version 2, but with version 3.0.1 (from jitpack.io http://jitpack.io/) I got the same problem.

<Screen Shot 2016-08-22 at 12.44.44.png>

On 31 Jul 2016, at 07:03, Eric Lange <notifications@github.com mailto:notifications@github.com> wrote:

Actually, no. I just restarted Android Studio and the problem went away.

On Sun, Jul 31, 2016 at 10:30 AM, Eric Lange <eric@flicket.tv mailto:eric@flicket.tv> wrote:

I'm now seeing this! It compiles just fine, but Android Studio lint says it can't resolve. Looking into it.

On Sat, Jul 30, 2016 at 6:13 PM, Bruno <notifications@github.com mailto:notifications@github.com> wrote:

Ok. I'll try in few hours. I'm from Italy -------- Original message --------From: Eric Lange < notifications@github.com mailto:notifications@github.com> Date: 7/30/16 14:03 (GMT+01:00) To: ericwlange/AndroidJSCore <AndroidJSCore@noreply.github.com mailto:AndroidJSCore@noreply.github.com> Cc: Bruno <bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru>, Author <author@noreply.github.com mailto:author@noreply.github.com> Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14) I scoured StackOverflow trying to find references to what you are

experiencing. Here are some things to try:

  1. Make sure you are using the latest release 3.0.1 at JitPack.io http://jitpack.io/:

https://jitpack.io/#ericwlange/AndroidJSCore/3.0.1 https://jitpack.io/#ericwlange/AndroidJSCore/3.0.1 (and make sure you

delete the old versions from your tree)

  1. Be sure to 'clean' your project completely

The most likely culprit is that some dependency is not included in your

app. Pulling directly from JitPack should solve that. Using the .aar

directly ignores the .pom file which makes sure all dependencies are loaded.

If the above fails, see if you have appcompat-v7 included. It is a

dependency. Make sure:

compile 'com.android.support:appcompat-v7:24.1.1'

is there. You shouldn't have to do this, but I am grasping at straws here.

Would be interested if any of the above solves the issue and which one.

Where are you located? We will have to align timezones if none of

this works. I am currently based in India.

On Sat, Jul 30, 2016 at 12:40 PM, Bruno <notifications@github.com mailto:notifications@github.com> wrote:

If you have time i can show you.

Take my Skype contact

davil83

-------- Original message --------From: Eric Lange <

notifications@github.com mailto:notifications@github.com> Date: 7/30/16 04:54 (GMT+01:00) To:

ericwlange/AndroidJSCore <AndroidJSCore@noreply.github.com mailto:AndroidJSCore@noreply.github.com> Cc: Bruno

<bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru>, Author <author@noreply.github.com mailto:author@noreply.github.com>

Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14)

Ok, I am confused.

If you (fresh) clone the repo, are you able run the example app?

On Fri, Jul 29, 2016 at 2:40 PM, Bruno <notifications@github.com mailto:notifications@github.com> wrote:

All classes has private access.

Cannot use it.

I’m sorry.

Let me now if you need more tests.

On 27 Jul 2016, at 18:36, Eric Lange <notifications@github.com mailto:notifications@github.com> wrote:

Can you try the latest release using jitpack?

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0.0 https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0.0

Let me know if the problem still persists. Thanks.

On Fri, Jul 15, 2016 at 2:32 PM, Bruno <notifications@github.com mailto:notifications@github.com>

wrote:

Here build.gradle

apply plugin: 'com.android.library'

android {

compileSdkVersion 23

buildToolsVersion "23.0.2"

defaultConfig {

minSdkVersion 16

targetSdkVersion 23

versionCode 1

versionName "1.0"

testInstrumentationRunner

"android.support.test.runner.AndroidJUnitRunner"

}

buildTypes {

release {

minifyEnabled false

proguardFiles getDefaultProguardFile('proguard-android.txt'), '

proguard-rules.pro'

}

}

packagingOptions {

exclude 'META-INF/DEPENDENCIES.txt'

exclude 'META-INF/LICENSE.txt'

exclude 'META-INF/NOTICE.txt'

exclude 'META-INF/NOTICE'

exclude 'META-INF/LICENSE'

exclude 'META-INF/DEPENDENCIES'

exclude 'META-INF/notice.txt'

exclude 'META-INF/license.txt'

exclude 'META-INF/dependencies.txt'

exclude 'META-INF/LGPL2.1'

}

sourceSets {

main {

jni.srcDirs = [] //disable automatic ndk-build

jniLibs.srcDirs = ['src/main/libs']

}

}

}

dependencies {

compile fileTree(dir: 'libs', include: ['*.jar'])

compile(name: 'AndroidJSCore-3.0-pre2-release', ext: 'aar')

compile 'com.android.support:appcompat-v7:23.1.1'

compile ('io.socket:socket.io-client:0.7.0') {

exclude group: 'org.json', module: 'json'

}

compile project(':applica-framework')

testCompile 'junit:junit:4.12'

androidTestCompile 'junit:junit:4.12'

}

and here a file that use your library

On 15 Jul 2016, at 07:04, Eric Lange <notifications@github.com mailto:notifications@github.com>

wrote:

You are looking at 3.0-pre2 <

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0-pre2 https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0-pre2 ?

Someone else reported this problem with the previous version, but I

changed

what I thought was causing it, and others are not reporting it. Can

you

send me your build.gradle?

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232860427 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232860427

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HiiqvmJzE3AICeMxkhmZ1YzCnf-dOks5qVxTggaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/AA1HiiqvmJzE3AICeMxkhmZ1YzCnf-dOks5qVxTggaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

<

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232899797 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232899797

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/ABIuZMgVm2JGszuvOhLHx9NnRt3uLAP_ks5qV0yogaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZMgVm2JGszuvOhLHx9NnRt3uLAP_ks5qV0yogaJpZM4Hw0Yv

.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-235643892 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-235643892

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HigfJCJljOAUP8PbOfHLoCaCNA_v_ks5qZ4kUgaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/AA1HigfJCJljOAUP8PbOfHLoCaCNA_v_ks5qZ4kUgaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

<

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236132326 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236132326

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/ABIuZMbYBT1jUtGMGUx6DX10teSidDBAks5qacOagaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZMbYBT1jUtGMGUx6DX10teSidDBAks5qacOagaJpZM4Hw0Yv

.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub, or mute the thread.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

< https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236349732 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236349732 ,

or mute the thread

< https://github.com/notifications/unsubscribe-auth/ABIuZE6Qdzz_EnpGX609O2xSdp6CavUEks5qavjmgaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZE6Qdzz_EnpGX609O2xSdp6CavUEks5qavjmgaJpZM4Hw0Yv

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236363266 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236363266>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ABIuZKlW52Lp5k1gZY2bsD7wvnq_Efbjks5qa0cKgaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZKlW52Lp5k1gZY2bsD7wvnq_Efbjks5qa0cKgaJpZM4Hw0Yv> .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236410545, or mute the thread https://github.com/notifications/unsubscribe-auth/AA1HiiaMXA5WMzTQvlBBXaTVZkO4L32Rks5qbCyagaJpZM4Hw0Yv.

bfortunato commented 8 years ago

A new project works well, I don’t know why.

Removed .idea folder Removed .gradle folder Clean Build

Nothing!

On 22 Aug 2016, at 13:03, Bruno Fortunato bruno.fortunato@applica.guru wrote:

Yes, it’s android studio, but it makes impossible to work with all of that errors. I’m trying with a new project.

On 22 Aug 2016, at 13:00, Bruno Fortunato <bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru> wrote:

Probably the problem is only on intellij

On 22 Aug 2016, at 12:48, Bruno Fortunato <bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru> wrote:

Hi erik, tnx for your job, but now your lib is not usable.

I’ve no problem with version 2, but with version 3.0.1 (from jitpack.io http://jitpack.io/) I got the same problem.

<Screen Shot 2016-08-22 at 12.44.44.png>

On 31 Jul 2016, at 07:03, Eric Lange <notifications@github.com mailto:notifications@github.com> wrote:

Actually, no. I just restarted Android Studio and the problem went away.

On Sun, Jul 31, 2016 at 10:30 AM, Eric Lange <eric@flicket.tv mailto:eric@flicket.tv> wrote:

I'm now seeing this! It compiles just fine, but Android Studio lint says it can't resolve. Looking into it.

On Sat, Jul 30, 2016 at 6:13 PM, Bruno <notifications@github.com mailto:notifications@github.com> wrote:

Ok. I'll try in few hours. I'm from Italy -------- Original message --------From: Eric Lange < notifications@github.com mailto:notifications@github.com> Date: 7/30/16 14:03 (GMT+01:00) To: ericwlange/AndroidJSCore <AndroidJSCore@noreply.github.com mailto:AndroidJSCore@noreply.github.com> Cc: Bruno <bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru>, Author <author@noreply.github.com mailto:author@noreply.github.com> Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14) I scoured StackOverflow trying to find references to what you are

experiencing. Here are some things to try:

  1. Make sure you are using the latest release 3.0.1 at JitPack.io http://jitpack.io/:

https://jitpack.io/#ericwlange/AndroidJSCore/3.0.1 https://jitpack.io/#ericwlange/AndroidJSCore/3.0.1 (and make sure you

delete the old versions from your tree)

  1. Be sure to 'clean' your project completely

The most likely culprit is that some dependency is not included in your

app. Pulling directly from JitPack should solve that. Using the .aar

directly ignores the .pom file which makes sure all dependencies are loaded.

If the above fails, see if you have appcompat-v7 included. It is a

dependency. Make sure:

compile 'com.android.support:appcompat-v7:24.1.1'

is there. You shouldn't have to do this, but I am grasping at straws here.

Would be interested if any of the above solves the issue and which one.

Where are you located? We will have to align timezones if none of

this works. I am currently based in India.

On Sat, Jul 30, 2016 at 12:40 PM, Bruno <notifications@github.com mailto:notifications@github.com> wrote:

If you have time i can show you.

Take my Skype contact

davil83

-------- Original message --------From: Eric Lange <

notifications@github.com mailto:notifications@github.com> Date: 7/30/16 04:54 (GMT+01:00) To:

ericwlange/AndroidJSCore <AndroidJSCore@noreply.github.com mailto:AndroidJSCore@noreply.github.com> Cc: Bruno

<bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru>, Author <author@noreply.github.com mailto:author@noreply.github.com>

Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14)

Ok, I am confused.

If you (fresh) clone the repo, are you able run the example app?

On Fri, Jul 29, 2016 at 2:40 PM, Bruno <notifications@github.com mailto:notifications@github.com> wrote:

All classes has private access.

Cannot use it.

I’m sorry.

Let me now if you need more tests.

On 27 Jul 2016, at 18:36, Eric Lange <notifications@github.com mailto:notifications@github.com> wrote:

Can you try the latest release using jitpack?

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0.0 https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0.0

Let me know if the problem still persists. Thanks.

On Fri, Jul 15, 2016 at 2:32 PM, Bruno <notifications@github.com mailto:notifications@github.com>

wrote:

Here build.gradle

apply plugin: 'com.android.library'

android {

compileSdkVersion 23

buildToolsVersion "23.0.2"

defaultConfig {

minSdkVersion 16

targetSdkVersion 23

versionCode 1

versionName "1.0"

testInstrumentationRunner

"android.support.test.runner.AndroidJUnitRunner"

}

buildTypes {

release {

minifyEnabled false

proguardFiles getDefaultProguardFile('proguard-android.txt'), '

proguard-rules.pro'

}

}

packagingOptions {

exclude 'META-INF/DEPENDENCIES.txt'

exclude 'META-INF/LICENSE.txt'

exclude 'META-INF/NOTICE.txt'

exclude 'META-INF/NOTICE'

exclude 'META-INF/LICENSE'

exclude 'META-INF/DEPENDENCIES'

exclude 'META-INF/notice.txt'

exclude 'META-INF/license.txt'

exclude 'META-INF/dependencies.txt'

exclude 'META-INF/LGPL2.1'

}

sourceSets {

main {

jni.srcDirs = [] //disable automatic ndk-build

jniLibs.srcDirs = ['src/main/libs']

}

}

}

dependencies {

compile fileTree(dir: 'libs', include: ['*.jar'])

compile(name: 'AndroidJSCore-3.0-pre2-release', ext: 'aar')

compile 'com.android.support:appcompat-v7:23.1.1'

compile ('io.socket:socket.io-client:0.7.0') {

exclude group: 'org.json', module: 'json'

}

compile project(':applica-framework')

testCompile 'junit:junit:4.12'

androidTestCompile 'junit:junit:4.12'

}

and here a file that use your library

On 15 Jul 2016, at 07:04, Eric Lange <notifications@github.com mailto:notifications@github.com>

wrote:

You are looking at 3.0-pre2 <

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0-pre2 https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0-pre2 ?

Someone else reported this problem with the previous version, but I

changed

what I thought was causing it, and others are not reporting it. Can

you

send me your build.gradle?

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232860427 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232860427

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HiiqvmJzE3AICeMxkhmZ1YzCnf-dOks5qVxTggaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/AA1HiiqvmJzE3AICeMxkhmZ1YzCnf-dOks5qVxTggaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

<

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232899797 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232899797

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/ABIuZMgVm2JGszuvOhLHx9NnRt3uLAP_ks5qV0yogaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZMgVm2JGszuvOhLHx9NnRt3uLAP_ks5qV0yogaJpZM4Hw0Yv

.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-235643892 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-235643892

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HigfJCJljOAUP8PbOfHLoCaCNA_v_ks5qZ4kUgaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/AA1HigfJCJljOAUP8PbOfHLoCaCNA_v_ks5qZ4kUgaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

<

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236132326 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236132326

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/ABIuZMbYBT1jUtGMGUx6DX10teSidDBAks5qacOagaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZMbYBT1jUtGMGUx6DX10teSidDBAks5qacOagaJpZM4Hw0Yv

.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub, or mute the thread.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

< https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236349732 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236349732 ,

or mute the thread

< https://github.com/notifications/unsubscribe-auth/ABIuZE6Qdzz_EnpGX609O2xSdp6CavUEks5qavjmgaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZE6Qdzz_EnpGX609O2xSdp6CavUEks5qavjmgaJpZM4Hw0Yv

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236363266 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236363266>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ABIuZKlW52Lp5k1gZY2bsD7wvnq_Efbjks5qa0cKgaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZKlW52Lp5k1gZY2bsD7wvnq_Efbjks5qa0cKgaJpZM4Hw0Yv> .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236410545, or mute the thread https://github.com/notifications/unsubscribe-auth/AA1HiiaMXA5WMzTQvlBBXaTVZkO4L32Rks5qbCyagaJpZM4Hw0Yv.

ericwlange commented 8 years ago

Hmm. Not sure how your project got into that state. But all is fine now, yes?

bfortunato commented 8 years ago

I’m located in Italy, so, I don’t know about your timezone. Anyway, with version 3 or above, in my project, Android Studio cannot se classes but gradle compile. With version 2 android studio (with my project) works fine.

If I create a new project, also with version 3, android studio works fine.

This is very strange.

On 22 Aug 2016, at 13:10, Bruno Fortunato bruno.fortunato@applica.guru wrote:

A new project works well, I don’t know why.

Removed .idea folder Removed .gradle folder Clean Build

Nothing!

On 22 Aug 2016, at 13:03, Bruno Fortunato <bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru> wrote:

Yes, it’s android studio, but it makes impossible to work with all of that errors. I’m trying with a new project.

On 22 Aug 2016, at 13:00, Bruno Fortunato <bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru> wrote:

Probably the problem is only on intellij

On 22 Aug 2016, at 12:48, Bruno Fortunato <bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru> wrote:

Hi erik, tnx for your job, but now your lib is not usable.

I’ve no problem with version 2, but with version 3.0.1 (from jitpack.io http://jitpack.io/) I got the same problem.

<Screen Shot 2016-08-22 at 12.44.44.png>

On 31 Jul 2016, at 07:03, Eric Lange <notifications@github.com mailto:notifications@github.com> wrote:

Actually, no. I just restarted Android Studio and the problem went away.

On Sun, Jul 31, 2016 at 10:30 AM, Eric Lange <eric@flicket.tv mailto:eric@flicket.tv> wrote:

I'm now seeing this! It compiles just fine, but Android Studio lint says it can't resolve. Looking into it.

On Sat, Jul 30, 2016 at 6:13 PM, Bruno <notifications@github.com mailto:notifications@github.com> wrote:

Ok. I'll try in few hours. I'm from Italy -------- Original message --------From: Eric Lange < notifications@github.com mailto:notifications@github.com> Date: 7/30/16 14:03 (GMT+01:00) To: ericwlange/AndroidJSCore <AndroidJSCore@noreply.github.com mailto:AndroidJSCore@noreply.github.com> Cc: Bruno <bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru>, Author <author@noreply.github.com mailto:author@noreply.github.com> Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14) I scoured StackOverflow trying to find references to what you are

experiencing. Here are some things to try:

  1. Make sure you are using the latest release 3.0.1 at JitPack.io http://jitpack.io/:

https://jitpack.io/#ericwlange/AndroidJSCore/3.0.1 https://jitpack.io/#ericwlange/AndroidJSCore/3.0.1 (and make sure you

delete the old versions from your tree)

  1. Be sure to 'clean' your project completely

The most likely culprit is that some dependency is not included in your

app. Pulling directly from JitPack should solve that. Using the .aar

directly ignores the .pom file which makes sure all dependencies are loaded.

If the above fails, see if you have appcompat-v7 included. It is a

dependency. Make sure:

compile 'com.android.support:appcompat-v7:24.1.1'

is there. You shouldn't have to do this, but I am grasping at straws here.

Would be interested if any of the above solves the issue and which one.

Where are you located? We will have to align timezones if none of

this works. I am currently based in India.

On Sat, Jul 30, 2016 at 12:40 PM, Bruno <notifications@github.com mailto:notifications@github.com> wrote:

If you have time i can show you.

Take my Skype contact

davil83

-------- Original message --------From: Eric Lange <

notifications@github.com mailto:notifications@github.com> Date: 7/30/16 04:54 (GMT+01:00) To:

ericwlange/AndroidJSCore <AndroidJSCore@noreply.github.com mailto:AndroidJSCore@noreply.github.com> Cc: Bruno

<bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru>, Author <author@noreply.github.com mailto:author@noreply.github.com>

Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14)

Ok, I am confused.

If you (fresh) clone the repo, are you able run the example app?

On Fri, Jul 29, 2016 at 2:40 PM, Bruno <notifications@github.com mailto:notifications@github.com> wrote:

All classes has private access.

Cannot use it.

I’m sorry.

Let me now if you need more tests.

On 27 Jul 2016, at 18:36, Eric Lange <notifications@github.com mailto:notifications@github.com> wrote:

Can you try the latest release using jitpack?

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0.0 https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0.0

Let me know if the problem still persists. Thanks.

On Fri, Jul 15, 2016 at 2:32 PM, Bruno <notifications@github.com mailto:notifications@github.com>

wrote:

Here build.gradle

apply plugin: 'com.android.library'

android {

compileSdkVersion 23

buildToolsVersion "23.0.2"

defaultConfig {

minSdkVersion 16

targetSdkVersion 23

versionCode 1

versionName "1.0"

testInstrumentationRunner

"android.support.test.runner.AndroidJUnitRunner"

}

buildTypes {

release {

minifyEnabled false

proguardFiles getDefaultProguardFile('proguard-android.txt'), '

proguard-rules.pro'

}

}

packagingOptions {

exclude 'META-INF/DEPENDENCIES.txt'

exclude 'META-INF/LICENSE.txt'

exclude 'META-INF/NOTICE.txt'

exclude 'META-INF/NOTICE'

exclude 'META-INF/LICENSE'

exclude 'META-INF/DEPENDENCIES'

exclude 'META-INF/notice.txt'

exclude 'META-INF/license.txt'

exclude 'META-INF/dependencies.txt'

exclude 'META-INF/LGPL2.1'

}

sourceSets {

main {

jni.srcDirs = [] //disable automatic ndk-build

jniLibs.srcDirs = ['src/main/libs']

}

}

}

dependencies {

compile fileTree(dir: 'libs', include: ['*.jar'])

compile(name: 'AndroidJSCore-3.0-pre2-release', ext: 'aar')

compile 'com.android.support:appcompat-v7:23.1.1'

compile ('io.socket:socket.io-client:0.7.0') {

exclude group: 'org.json', module: 'json'

}

compile project(':applica-framework')

testCompile 'junit:junit:4.12'

androidTestCompile 'junit:junit:4.12'

}

and here a file that use your library

On 15 Jul 2016, at 07:04, Eric Lange <notifications@github.com mailto:notifications@github.com>

wrote:

You are looking at 3.0-pre2 <

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0-pre2 https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0-pre2 ?

Someone else reported this problem with the previous version, but I

changed

what I thought was causing it, and others are not reporting it. Can

you

send me your build.gradle?

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232860427 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232860427

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HiiqvmJzE3AICeMxkhmZ1YzCnf-dOks5qVxTggaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/AA1HiiqvmJzE3AICeMxkhmZ1YzCnf-dOks5qVxTggaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

<

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232899797 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232899797

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/ABIuZMgVm2JGszuvOhLHx9NnRt3uLAP_ks5qV0yogaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZMgVm2JGszuvOhLHx9NnRt3uLAP_ks5qV0yogaJpZM4Hw0Yv

.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-235643892 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-235643892

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HigfJCJljOAUP8PbOfHLoCaCNA_v_ks5qZ4kUgaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/AA1HigfJCJljOAUP8PbOfHLoCaCNA_v_ks5qZ4kUgaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

<

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236132326 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236132326

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/ABIuZMbYBT1jUtGMGUx6DX10teSidDBAks5qacOagaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZMbYBT1jUtGMGUx6DX10teSidDBAks5qacOagaJpZM4Hw0Yv

.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub, or mute the thread.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

< https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236349732 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236349732 ,

or mute the thread

< https://github.com/notifications/unsubscribe-auth/ABIuZE6Qdzz_EnpGX609O2xSdp6CavUEks5qavjmgaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZE6Qdzz_EnpGX609O2xSdp6CavUEks5qavjmgaJpZM4Hw0Yv

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236363266 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236363266>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ABIuZKlW52Lp5k1gZY2bsD7wvnq_Efbjks5qa0cKgaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZKlW52Lp5k1gZY2bsD7wvnq_Efbjks5qa0cKgaJpZM4Hw0Yv> .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236410545, or mute the thread https://github.com/notifications/unsubscribe-auth/AA1HiiaMXA5WMzTQvlBBXaTVZkO4L32Rks5qbCyagaJpZM4Hw0Yv.

bfortunato commented 8 years ago

Ok, I don’t know why but it works now. Now I’m trying the deadlock.

I’ll give you more news later.

Tnx so much

On 23 Aug 2016, at 09:20, Bruno Fortunato bruno.fortunato@applica.guru wrote:

I’m located in Italy, so, I don’t know about your timezone. Anyway, with version 3 or above, in my project, Android Studio cannot se classes but gradle compile. With version 2 android studio (with my project) works fine.

If I create a new project, also with version 3, android studio works fine.

This is very strange.

On 22 Aug 2016, at 13:10, Bruno Fortunato <bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru> wrote:

A new project works well, I don’t know why.

Removed .idea folder Removed .gradle folder Clean Build

Nothing!

On 22 Aug 2016, at 13:03, Bruno Fortunato <bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru> wrote:

Yes, it’s android studio, but it makes impossible to work with all of that errors. I’m trying with a new project.

On 22 Aug 2016, at 13:00, Bruno Fortunato <bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru> wrote:

Probably the problem is only on intellij

On 22 Aug 2016, at 12:48, Bruno Fortunato <bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru> wrote:

Hi erik, tnx for your job, but now your lib is not usable.

I’ve no problem with version 2, but with version 3.0.1 (from jitpack.io http://jitpack.io/) I got the same problem.

<Screen Shot 2016-08-22 at 12.44.44.png>

On 31 Jul 2016, at 07:03, Eric Lange <notifications@github.com mailto:notifications@github.com> wrote:

Actually, no. I just restarted Android Studio and the problem went away.

On Sun, Jul 31, 2016 at 10:30 AM, Eric Lange <eric@flicket.tv mailto:eric@flicket.tv> wrote:

I'm now seeing this! It compiles just fine, but Android Studio lint says it can't resolve. Looking into it.

On Sat, Jul 30, 2016 at 6:13 PM, Bruno <notifications@github.com mailto:notifications@github.com> wrote:

Ok. I'll try in few hours. I'm from Italy -------- Original message --------From: Eric Lange < notifications@github.com mailto:notifications@github.com> Date: 7/30/16 14:03 (GMT+01:00) To: ericwlange/AndroidJSCore <AndroidJSCore@noreply.github.com mailto:AndroidJSCore@noreply.github.com> Cc: Bruno <bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru>, Author <author@noreply.github.com mailto:author@noreply.github.com> Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14) I scoured StackOverflow trying to find references to what you are

experiencing. Here are some things to try:

  1. Make sure you are using the latest release 3.0.1 at JitPack.io http://jitpack.io/:

https://jitpack.io/#ericwlange/AndroidJSCore/3.0.1 https://jitpack.io/#ericwlange/AndroidJSCore/3.0.1 (and make sure you

delete the old versions from your tree)

  1. Be sure to 'clean' your project completely

The most likely culprit is that some dependency is not included in your

app. Pulling directly from JitPack should solve that. Using the .aar

directly ignores the .pom file which makes sure all dependencies are loaded.

If the above fails, see if you have appcompat-v7 included. It is a

dependency. Make sure:

compile 'com.android.support:appcompat-v7:24.1.1'

is there. You shouldn't have to do this, but I am grasping at straws here.

Would be interested if any of the above solves the issue and which one.

Where are you located? We will have to align timezones if none of

this works. I am currently based in India.

On Sat, Jul 30, 2016 at 12:40 PM, Bruno <notifications@github.com mailto:notifications@github.com> wrote:

If you have time i can show you.

Take my Skype contact

davil83

-------- Original message --------From: Eric Lange <

notifications@github.com mailto:notifications@github.com> Date: 7/30/16 04:54 (GMT+01:00) To:

ericwlange/AndroidJSCore <AndroidJSCore@noreply.github.com mailto:AndroidJSCore@noreply.github.com> Cc: Bruno

<bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru>, Author <author@noreply.github.com mailto:author@noreply.github.com>

Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14)

Ok, I am confused.

If you (fresh) clone the repo, are you able run the example app?

On Fri, Jul 29, 2016 at 2:40 PM, Bruno <notifications@github.com mailto:notifications@github.com> wrote:

All classes has private access.

Cannot use it.

I’m sorry.

Let me now if you need more tests.

On 27 Jul 2016, at 18:36, Eric Lange <notifications@github.com mailto:notifications@github.com> wrote:

Can you try the latest release using jitpack?

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0.0 https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0.0

Let me know if the problem still persists. Thanks.

On Fri, Jul 15, 2016 at 2:32 PM, Bruno <notifications@github.com mailto:notifications@github.com>

wrote:

Here build.gradle

apply plugin: 'com.android.library'

android {

compileSdkVersion 23

buildToolsVersion "23.0.2"

defaultConfig {

minSdkVersion 16

targetSdkVersion 23

versionCode 1

versionName "1.0"

testInstrumentationRunner

"android.support.test.runner.AndroidJUnitRunner"

}

buildTypes {

release {

minifyEnabled false

proguardFiles getDefaultProguardFile('proguard-android.txt'), '

proguard-rules.pro'

}

}

packagingOptions {

exclude 'META-INF/DEPENDENCIES.txt'

exclude 'META-INF/LICENSE.txt'

exclude 'META-INF/NOTICE.txt'

exclude 'META-INF/NOTICE'

exclude 'META-INF/LICENSE'

exclude 'META-INF/DEPENDENCIES'

exclude 'META-INF/notice.txt'

exclude 'META-INF/license.txt'

exclude 'META-INF/dependencies.txt'

exclude 'META-INF/LGPL2.1'

}

sourceSets {

main {

jni.srcDirs = [] //disable automatic ndk-build

jniLibs.srcDirs = ['src/main/libs']

}

}

}

dependencies {

compile fileTree(dir: 'libs', include: ['*.jar'])

compile(name: 'AndroidJSCore-3.0-pre2-release', ext: 'aar')

compile 'com.android.support:appcompat-v7:23.1.1'

compile ('io.socket:socket.io-client:0.7.0') {

exclude group: 'org.json', module: 'json'

}

compile project(':applica-framework')

testCompile 'junit:junit:4.12'

androidTestCompile 'junit:junit:4.12'

}

and here a file that use your library

On 15 Jul 2016, at 07:04, Eric Lange <notifications@github.com mailto:notifications@github.com>

wrote:

You are looking at 3.0-pre2 <

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0-pre2 https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0-pre2 ?

Someone else reported this problem with the previous version, but I

changed

what I thought was causing it, and others are not reporting it. Can

you

send me your build.gradle?

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232860427 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232860427

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HiiqvmJzE3AICeMxkhmZ1YzCnf-dOks5qVxTggaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/AA1HiiqvmJzE3AICeMxkhmZ1YzCnf-dOks5qVxTggaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

<

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232899797 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232899797

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/ABIuZMgVm2JGszuvOhLHx9NnRt3uLAP_ks5qV0yogaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZMgVm2JGszuvOhLHx9NnRt3uLAP_ks5qV0yogaJpZM4Hw0Yv

.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-235643892 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-235643892

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HigfJCJljOAUP8PbOfHLoCaCNA_v_ks5qZ4kUgaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/AA1HigfJCJljOAUP8PbOfHLoCaCNA_v_ks5qZ4kUgaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

<

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236132326 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236132326

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/ABIuZMbYBT1jUtGMGUx6DX10teSidDBAks5qacOagaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZMbYBT1jUtGMGUx6DX10teSidDBAks5qacOagaJpZM4Hw0Yv

.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub, or mute the thread.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

< https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236349732 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236349732 ,

or mute the thread

< https://github.com/notifications/unsubscribe-auth/ABIuZE6Qdzz_EnpGX609O2xSdp6CavUEks5qavjmgaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZE6Qdzz_EnpGX609O2xSdp6CavUEks5qavjmgaJpZM4Hw0Yv

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236363266 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236363266>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ABIuZKlW52Lp5k1gZY2bsD7wvnq_Efbjks5qa0cKgaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZKlW52Lp5k1gZY2bsD7wvnq_Efbjks5qa0cKgaJpZM4Hw0Yv> .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236410545, or mute the thread https://github.com/notifications/unsubscribe-auth/AA1HiiaMXA5WMzTQvlBBXaTVZkO4L32Rks5qbCyagaJpZM4Hw0Yv.

bfortunato commented 8 years ago

Ok,

The project works now, but babel polyfill.js always create a deadlock.

On 23 Aug 2016, at 09:46, Bruno Fortunato bruno.fortunato@applica.guru wrote:

Ok, I don’t know why but it works now. Now I’m trying the deadlock.

I’ll give you more news later.

Tnx so much

On 23 Aug 2016, at 09:20, Bruno Fortunato <bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru> wrote:

I’m located in Italy, so, I don’t know about your timezone. Anyway, with version 3 or above, in my project, Android Studio cannot se classes but gradle compile. With version 2 android studio (with my project) works fine.

If I create a new project, also with version 3, android studio works fine.

This is very strange.

On 22 Aug 2016, at 13:10, Bruno Fortunato <bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru> wrote:

A new project works well, I don’t know why.

Removed .idea folder Removed .gradle folder Clean Build

Nothing!

On 22 Aug 2016, at 13:03, Bruno Fortunato <bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru> wrote:

Yes, it’s android studio, but it makes impossible to work with all of that errors. I’m trying with a new project.

On 22 Aug 2016, at 13:00, Bruno Fortunato <bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru> wrote:

Probably the problem is only on intellij

On 22 Aug 2016, at 12:48, Bruno Fortunato <bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru> wrote:

Hi erik, tnx for your job, but now your lib is not usable.

I’ve no problem with version 2, but with version 3.0.1 (from jitpack.io http://jitpack.io/) I got the same problem.

<Screen Shot 2016-08-22 at 12.44.44.png>

On 31 Jul 2016, at 07:03, Eric Lange <notifications@github.com mailto:notifications@github.com> wrote:

Actually, no. I just restarted Android Studio and the problem went away.

On Sun, Jul 31, 2016 at 10:30 AM, Eric Lange <eric@flicket.tv mailto:eric@flicket.tv> wrote:

I'm now seeing this! It compiles just fine, but Android Studio lint says it can't resolve. Looking into it.

On Sat, Jul 30, 2016 at 6:13 PM, Bruno <notifications@github.com mailto:notifications@github.com> wrote:

Ok. I'll try in few hours. I'm from Italy -------- Original message --------From: Eric Lange < notifications@github.com mailto:notifications@github.com> Date: 7/30/16 14:03 (GMT+01:00) To: ericwlange/AndroidJSCore <AndroidJSCore@noreply.github.com mailto:AndroidJSCore@noreply.github.com> Cc: Bruno <bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru>, Author <author@noreply.github.com mailto:author@noreply.github.com> Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14) I scoured StackOverflow trying to find references to what you are

experiencing. Here are some things to try:

  1. Make sure you are using the latest release 3.0.1 at JitPack.io http://jitpack.io/:

https://jitpack.io/#ericwlange/AndroidJSCore/3.0.1 https://jitpack.io/#ericwlange/AndroidJSCore/3.0.1 (and make sure you

delete the old versions from your tree)

  1. Be sure to 'clean' your project completely

The most likely culprit is that some dependency is not included in your

app. Pulling directly from JitPack should solve that. Using the .aar

directly ignores the .pom file which makes sure all dependencies are loaded.

If the above fails, see if you have appcompat-v7 included. It is a

dependency. Make sure:

compile 'com.android.support:appcompat-v7:24.1.1'

is there. You shouldn't have to do this, but I am grasping at straws here.

Would be interested if any of the above solves the issue and which one.

Where are you located? We will have to align timezones if none of

this works. I am currently based in India.

On Sat, Jul 30, 2016 at 12:40 PM, Bruno <notifications@github.com mailto:notifications@github.com> wrote:

If you have time i can show you.

Take my Skype contact

davil83

-------- Original message --------From: Eric Lange <

notifications@github.com mailto:notifications@github.com> Date: 7/30/16 04:54 (GMT+01:00) To:

ericwlange/AndroidJSCore <AndroidJSCore@noreply.github.com mailto:AndroidJSCore@noreply.github.com> Cc: Bruno

<bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru>, Author <author@noreply.github.com mailto:author@noreply.github.com>

Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14)

Ok, I am confused.

If you (fresh) clone the repo, are you able run the example app?

On Fri, Jul 29, 2016 at 2:40 PM, Bruno <notifications@github.com mailto:notifications@github.com> wrote:

All classes has private access.

Cannot use it.

I’m sorry.

Let me now if you need more tests.

On 27 Jul 2016, at 18:36, Eric Lange <notifications@github.com mailto:notifications@github.com> wrote:

Can you try the latest release using jitpack?

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0.0 https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0.0

Let me know if the problem still persists. Thanks.

On Fri, Jul 15, 2016 at 2:32 PM, Bruno <notifications@github.com mailto:notifications@github.com>

wrote:

Here build.gradle

apply plugin: 'com.android.library'

android {

compileSdkVersion 23

buildToolsVersion "23.0.2"

defaultConfig {

minSdkVersion 16

targetSdkVersion 23

versionCode 1

versionName "1.0"

testInstrumentationRunner

"android.support.test.runner.AndroidJUnitRunner"

}

buildTypes {

release {

minifyEnabled false

proguardFiles getDefaultProguardFile('proguard-android.txt'), '

proguard-rules.pro'

}

}

packagingOptions {

exclude 'META-INF/DEPENDENCIES.txt'

exclude 'META-INF/LICENSE.txt'

exclude 'META-INF/NOTICE.txt'

exclude 'META-INF/NOTICE'

exclude 'META-INF/LICENSE'

exclude 'META-INF/DEPENDENCIES'

exclude 'META-INF/notice.txt'

exclude 'META-INF/license.txt'

exclude 'META-INF/dependencies.txt'

exclude 'META-INF/LGPL2.1'

}

sourceSets {

main {

jni.srcDirs = [] //disable automatic ndk-build

jniLibs.srcDirs = ['src/main/libs']

}

}

}

dependencies {

compile fileTree(dir: 'libs', include: ['*.jar'])

compile(name: 'AndroidJSCore-3.0-pre2-release', ext: 'aar')

compile 'com.android.support:appcompat-v7:23.1.1'

compile ('io.socket:socket.io-client:0.7.0') {

exclude group: 'org.json', module: 'json'

}

compile project(':applica-framework')

testCompile 'junit:junit:4.12'

androidTestCompile 'junit:junit:4.12'

}

and here a file that use your library

On 15 Jul 2016, at 07:04, Eric Lange <notifications@github.com mailto:notifications@github.com>

wrote:

You are looking at 3.0-pre2 <

https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0-pre2 https://github.com/ericwlange/AndroidJSCore/releases/tag/3.0-pre2 ?

Someone else reported this problem with the previous version, but I

changed

what I thought was causing it, and others are not reporting it. Can

you

send me your build.gradle?

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232860427 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232860427

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HiiqvmJzE3AICeMxkhmZ1YzCnf-dOks5qVxTggaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/AA1HiiqvmJzE3AICeMxkhmZ1YzCnf-dOks5qVxTggaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

<

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232899797 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-232899797

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/ABIuZMgVm2JGszuvOhLHx9NnRt3uLAP_ks5qV0yogaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZMgVm2JGszuvOhLHx9NnRt3uLAP_ks5qV0yogaJpZM4Hw0Yv

.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub <

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-235643892 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-235643892

,

or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA1HigfJCJljOAUP8PbOfHLoCaCNA_v_ks5qZ4kUgaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/AA1HigfJCJljOAUP8PbOfHLoCaCNA_v_ks5qZ4kUgaJpZM4Hw0Yv

.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

<

https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236132326 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236132326

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/ABIuZMbYBT1jUtGMGUx6DX10teSidDBAks5qacOagaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZMbYBT1jUtGMGUx6DX10teSidDBAks5qacOagaJpZM4Hw0Yv

.

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub, or mute the thread.

You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub

< https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236349732 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236349732 ,

or mute the thread

< https://github.com/notifications/unsubscribe-auth/ABIuZE6Qdzz_EnpGX609O2xSdp6CavUEks5qavjmgaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZE6Qdzz_EnpGX609O2xSdp6CavUEks5qavjmgaJpZM4Hw0Yv

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236363266 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236363266>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ABIuZKlW52Lp5k1gZY2bsD7wvnq_Efbjks5qa0cKgaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZKlW52Lp5k1gZY2bsD7wvnq_Efbjks5qa0cKgaJpZM4Hw0Yv> .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-236410545, or mute the thread https://github.com/notifications/unsubscribe-auth/AA1HiiaMXA5WMzTQvlBBXaTVZkO4L32Rks5qbCyagaJpZM4Hw0Yv.

ericwlange commented 8 years ago

Are you running it in the main thread or a background thread? Make sure you are running it in a background thread. Heavy JS on the main thread is known to cause some problems. If you want to fake it in the main thread, do something like this:

Thread background = new Thread(new Runnable() {
    @Override public void run() {
        // call your JS code here
    }
);

background.start();
background.join();

Background threads should not deadlock.

bfortunato commented 8 years ago

Not matter if is a thread or not, evaluateScript(polyfill.js) blocks execution

On 23 Aug 2016, at 13:51, Eric Lange notifications@github.com wrote:

Are you running it in the main thread or a background thread? Make sure you are running it in a background thread. Heavy JS on the main thread is known to cause some problems. If you want to fake it in the main thread, do something like this:

Thread background = new Thread(new Runnable() { @Override public void run() { // call your JS code here } );

background.start(); background.join(); Background threads should not deadlock.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-241707068, or mute the thread https://github.com/notifications/unsubscribe-auth/AA1HimEsqibfMrfeukrdfynBylgtzOf0ks5qit62gaJpZM4Hw0Yv.

ericwlange commented 8 years ago

Can you send the file or point me to a link? I'll take a look when I have some spare cycles.

On Wednesday, August 24, 2016, Bruno notifications@github.com wrote:

Not matter if is a thread or not, evaluateScript(polyfill.js) blocks execution

On 23 Aug 2016, at 13:51, Eric Lange <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');> wrote:

Are you running it in the main thread or a background thread? Make sure you are running it in a background thread. Heavy JS on the main thread is known to cause some problems. If you want to fake it in the main thread, do something like this:

Thread background = new Thread(new Runnable() { @Override public void run() { // call your JS code here } );

background.start(); background.join(); Background threads should not deadlock.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ ericwlange/AndroidJSCore/issues/14#issuecomment-241707068, or mute the thread https://github.com/notifications/unsubscribe-auth/ AA1HimEsqibfMrfeukrdfynBylgtzOf0ks5qit62gaJpZM4Hw0Yv.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-241986633, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIuZK3Mb07gnm5axgF9MH0aq1K1lda_ks5qi_nFgaJpZM4Hw0Yv .

bfortunato commented 8 years ago

Eric.

I’ve a big problem with the lib.

I call a JS method from Java. Each call is async (I use a fixedThreadExecutor). In the JS called method, I recall a Java method (using native function mapper) in the same way, async, but in this case I got a dead lock and the execution stops.

Can you help me?

Is very urgent!

On 24 Aug 2016, at 10:23, Eric Lange notifications@github.com wrote:

Can you send the file or point me to a link? I'll take a look when I have some spare cycles.

On Wednesday, August 24, 2016, Bruno notifications@github.com wrote:

Not matter if is a thread or not, evaluateScript(polyfill.js) blocks execution

On 23 Aug 2016, at 13:51, Eric Lange <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');> wrote:

Are you running it in the main thread or a background thread? Make sure you are running it in a background thread. Heavy JS on the main thread is known to cause some problems. If you want to fake it in the main thread, do something like this:

Thread background = new Thread(new Runnable() { @Override public void run() { // call your JS code here } );

background.start(); background.join(); Background threads should not deadlock.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ ericwlange/AndroidJSCore/issues/14#issuecomment-241707068, or mute the thread https://github.com/notifications/unsubscribe-auth/ AA1HimEsqibfMrfeukrdfynBylgtzOf0ks5qit62gaJpZM4Hw0Yv.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-241986633, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIuZK3Mb07gnm5axgF9MH0aq1K1lda_ks5qi_nFgaJpZM4Hw0Yv .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-241992154, or mute the thread https://github.com/notifications/unsubscribe-auth/AA1HigrXdmr4UC_j6zwXjBkp6VvFl4nhks5qi_-RgaJpZM4Hw0Yv.

bfortunato commented 8 years ago

I forgot an important information

in the java method called from js, because is on a different UI thread, I use an handler created with main looper.

//this is the function called from JS. Using the debugger I can see that the execution reach handler.post line but... public void trigger(final AJObject data) { final List safeSubscriptions = new ArrayList<>(subscriptions); Handler handler = new Handler(getRuntime().getContext().getMainLooper()); handler.post(new Runnable() { @Override public void run() { for (SubscriptionInfo s : safeSubscriptions) { <<<<<————— this code never executed s.subscription.handle(data); } } }); }

On 29 Aug 2016, at 13:34, Bruno Fortunato bruno.fortunato@applica.guru wrote:

Eric.

I’ve a big problem with the lib.

I call a JS method from Java. Each call is async (I use a fixedThreadExecutor). In the JS called method, I recall a Java method (using native function mapper) in the same way, async, but in this case I got a dead lock and the execution stops.

Can you help me?

Is very urgent!

On 24 Aug 2016, at 10:23, Eric Lange <notifications@github.com mailto:notifications@github.com> wrote:

Can you send the file or point me to a link? I'll take a look when I have some spare cycles.

On Wednesday, August 24, 2016, Bruno <notifications@github.com mailto:notifications@github.com> wrote:

Not matter if is a thread or not, evaluateScript(polyfill.js) blocks execution

On 23 Aug 2016, at 13:51, Eric Lange <notifications@github.com mailto:notifications@github.com <javascript:_e(%7B%7D,'cvml','notifications@github.com mailto:notifications@github.com');>> wrote:

Are you running it in the main thread or a background thread? Make sure you are running it in a background thread. Heavy JS on the main thread is known to cause some problems. If you want to fake it in the main thread, do something like this:

Thread background = new Thread(new Runnable() { @Override public void run() { // call your JS code here } );

background.start(); background.join(); Background threads should not deadlock.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <https://github.com/ https://github.com/ ericwlange/AndroidJSCore/issues/14#issuecomment-241707068>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ https://github.com/notifications/unsubscribe-auth/ AA1HimEsqibfMrfeukrdfynBylgtzOf0ks5qit62gaJpZM4Hw0Yv>.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-241986633 https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-241986633>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ABIuZK3Mb07gnm5axgF9MH0aq1K1lda_ks5qi_nFgaJpZM4Hw0Yv https://github.com/notifications/unsubscribe-auth/ABIuZK3Mb07gnm5axgF9MH0aq1K1lda_ks5qi_nFgaJpZM4Hw0Yv> .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-241992154, or mute the thread https://github.com/notifications/unsubscribe-auth/AA1HigrXdmr4UC_j6zwXjBkp6VvFl4nhks5qi_-RgaJpZM4Hw0Yv.

bfortunato commented 8 years ago

Ok Eric, I’ve the flow to reproduce.

  1. Java calls JS
  2. JS call java async and after that execute a callback
  3. in this callback js call java again and call a callback
  4. this callback is executed but makes a deadlock

if I stop debugger in while there is the deadlock, application breaks on: private native void nativePollOnce(long ptr, int timeoutMillis); /non-static for callbacks/ of MessageQueue android class

If I run the app without debugger, after a while the application crash with this error: 08-29 15:49:54.641 32469-32475/applica.app E/art: Unexpected time out during dump checkpoint. 08-29 15:49:54.641 32469-32475/applica.app A/art: art/runtime/barrier.cc:90] Check failed: count == 0 (count=1, 0=0) Attempted to destroy barrier with non zero count

Can you help me?

On 22 May 2016, at 13:42, bruno.fortunato bruno.fortunato@applica.guru wrote:

Tnx

-------- Original message -------- From: Eric Lange notifications@github.com Date: 5/22/16 13:15 (GMT+01:00) To: ericwlange/AndroidJSCore AndroidJSCore@noreply.github.com Cc: Bruno bruno.fortunato@applicadoit.com, Author author@noreply.github.com Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14)

This bug is now almost certainly fixed. Please try 2.2-pre2 and see if your problem goes away.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-220826881

bfortunato commented 8 years ago

OK Erik,

After an afternoon I got the problem, the real one. Maybe we have a buffer overflow with big strings. Try to run this code in android

package com.example.bimbobruno.myapplication;

import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log;

import org.liquidplayer.webkit.javascriptcore.JSContext; import org.liquidplayer.webkit.javascriptcore.JSFunction; import org.liquidplayer.webkit.javascriptcore.JSValue;

import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors;

public class MainActivity extends AppCompatActivity {

private ExecutorService EXECUTOR = Executors.newFixedThreadPool(10);

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    JSContext context = new JSContext();

    context.property("log", new JSFunction(context, "log") {
        public String log(String message) {
            Log.i("JS", message);
            return message;
        }
    });

    context.property("makeBigString", new JSFunction(context, "makeBigString") {
        public void makeBigString(final JSFunction cb) {
            EXECUTOR.execute(new Runnable() {
                @Override
                public void run() {
                    StringBuilder b = new StringBuilder();
                    for (int i = 0; i < 100000; i++) {
                        b.append("1234567890");
                    }

                    cb.call(null, new JSValue[]{new JSValue(context, b.toString())});
                }
            });
        }
    });

    context.evaluateScript(
            "var run = function() {\n" +
                "makeBigString(function(response) { log(response); });\n" +
            "};"
    );

    final JSFunction echo = context.property("run").toFunction();
    EXECUTOR.execute(new Runnable() {
        @Override
        public void run() {
            echo.call(null);
        }
    });

    setContentView(R.layout.activity_main);
}

}

and you will find the error. Let me know if you can fix, otherwise I’m doing the same thing with V8, but to be honest I prefer your library for compatibility with iOS.

Tnx a lot!

Bruno

On 29 Aug 2016, at 15:50, Bruno Fortunato bruno.fortunato@applica.guru wrote:

Ok Eric, I’ve the flow to reproduce.

  1. Java calls JS
  2. JS call java async and after that execute a callback
  3. in this callback js call java again and call a callback
  4. this callback is executed but makes a deadlock

if I stop debugger in while there is the deadlock, application breaks on: private native void nativePollOnce(long ptr, int timeoutMillis); /non-static for callbacks/ of MessageQueue android class

If I run the app without debugger, after a while the application crash with this error: 08-29 15:49:54.641 32469-32475/applica.app E/art: Unexpected time out during dump checkpoint. 08-29 15:49:54.641 32469-32475/applica.app A/art: art/runtime/barrier.cc http://barrier.cc/:90] Check failed: count == 0 (count=1, 0=0) Attempted to destroy barrier with non zero count

Can you help me?

On 22 May 2016, at 13:42, bruno.fortunato <bruno.fortunato@applica.guru mailto:bruno.fortunato@applica.guru> wrote:

Tnx

-------- Original message -------- From: Eric Lange <notifications@github.com mailto:notifications@github.com> Date: 5/22/16 13:15 (GMT+01:00) To: ericwlange/AndroidJSCore <AndroidJSCore@noreply.github.com mailto:AndroidJSCore@noreply.github.com> Cc: Bruno <bruno.fortunato@applicadoit.com mailto:bruno.fortunato@applicadoit.com>, Author <author@noreply.github.com mailto:author@noreply.github.com> Subject: Re: [ericwlange/AndroidJSCore] Babel polyfill.js (#14)

This bug is now almost certainly fixed. Please try 2.2-pre2 and see if your problem goes away.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/14#issuecomment-220826881