Closed Hashane closed 6 years ago
Thanks @Hashane. I will try to repro the issue and get back asap
Hi @Hashane, thanks for your report!
I tried to reproduce your issue, but building our android demo app using the apiClient worked as expected:
// build.gradle
dependencies {
implementation 'com.algolia:algoliasearch-android:3.+'
...
}
> ./gradlew installDebug
> Task :app:installDebug
Installing APK 'app-debug.apk' on 'Pixel_2_API_27(AVD) - 8.1.0' for app:debug
Installed on 1 device.
BUILD SUCCESSFUL in 3s
28 actionable tasks: 1 executed, 27 up-to-date
Besides, the build log you share ends with AAPT2 error: check logs for details
, but without the AAPT2 logs I cannot investigate the root cause.
Closing as stale. @Hashane feel free to reopen this ticket and answer my previous message if you still have this issue!
Bug: What is the current behavior? Build failure after importing 3.x versions.
Every time I use
compile 'com.algolia:algoliasearch-android:3.+'
orimplementation 'com.algolia:algoliasearch-android:3.+'
build fails.I imported the newest version using
compile 'com.algolia:algoliasearch-android:3.+'
and it worked well 2 days earlier. But now apparently there is a issue with importing since when I importalgoliasearch-android:3.+
Because when I removecompile 'com.algolia:algoliasearch-android:3.+'
from the dependencies the errors go away.I tried everything cleaning, rebuilding, syncing with gradle files and even invalidating cache and restarting, but non of them worked when
compile 'com.algolia:algoliasearch-android:3.+
is mentioned under dependencies.But If I import something like this a lower version
compile 'com.algolia:algoliasearch-android:2.+'
it worked fine without any errors. I did a lot of testing and it seems there's a problem with importing newer version which causes some errors and build fails.Bug: What is the expected behavior? Earlier Algolia worked fine with 3.x versions without any errors or any build failures.
Bug: What browsers are impacted? Which versions? versions above 3.x which used to worked until 2days earlier.
2.x seems to work fine without any build errors.
What is the version you are using? Always try to use the latest one before opening a bug issue. version 3.x . -
compile 'com.algolia:algoliasearch-android:3.+'
Build failure
@clement-leprovost