bill1550
09/21/2017, 1:05 PMjw
09/21/2017, 1:50 PMPaul Woitaschek
03/08/2019, 7:16 AMjulioyg
03/11/2019, 2:16 PMjulioyg
03/11/2019, 2:17 PMInline function, Lambda and Proguard: I cannot specify the case. If you write 3 depth inline or SAM function, you may face error while obfuscation of proguard. Especially, let run apply also
julioyg
03/11/2019, 2:17 PMjulioyg
03/11/2019, 2:17 PMeason
03/12/2019, 8:37 AMrg
03/12/2019, 8:39 AMdave
03/12/2019, 1:08 PM> Task :app:connectedDevDebugAndroidTest
12:59:37 V/ddms: execute: running am get-config
12:59:42 V/ddms: execute 'am get-config' on '0.0.0.0:32818' : EOF hit. Read: -1
12:59:42 V/ddms: execute: returning
12:59:42 D/app-dev-debug-androidTest.apk: Uploading app-dev-debug-androidTest.apk onto device '0.0.0.0:32818'
12:59:42 D/Device: Uploading file onto device '0.0.0.0:32818'
12:59:42 D/ddms: Reading file permision of /path-to-project/app/build/outputs/apk/androidTest/dev/debug/app-dev-debug-androidTest.apk as: rw-rw-r--
12:59:45 V/ddms: execute: running pm install -r -t "/data/local/tmp/app-dev-debug-androidTest.apk"
12:59:51 V/ddms: execute 'pm install -r -t "/data/local/tmp/app-dev-debug-androidTest.apk"' on '0.0.0.0:32818' : EOF hit. Read: -1
12:59:51 V/ddms: execute: returning
I have a docker container running an emulator at 0.0.0.0:32818. The project compiles properly, yet it can't for some reason upload the file. Any ideas? ThanksJay
03/13/2019, 3:04 PMkotlinx.android.extensions.LayoutContainer
- the property it defines is called containerView
but it is used for the content of a `ViewHolder`; I think it should be called contentView
or containedView
- not container
because “container” in English means the holder. Am I misunderstanding it or is it poorly named?rkeazor
03/13/2019, 8:59 PMkatz
03/14/2019, 9:44 AMdave
03/14/2019, 3:12 PMMatrix [matrix-6a9q91kg6iw8a] failed during validation: The test APK does not contain the test runner class specified by the user or the manifest file. The test runner class name may be incorrect, or the class may be mislocated in the app APK..
tests are running well locally as well as in jenkins. I'm running:
gcloud firebase test android run \
--type instrumentation \
--app app-dev-debug.apk \
--test app-dev-debug-androidTest.apk \
--device model=Nexus6,version=21,locale=en,orientation=portrait \
--timeout 90s
In my build.gradle:
...
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
...
Any idea?Travis Griggs
03/14/2019, 3:26 PMMarc Knaup
03/15/2019, 2:28 AMCaused by: com.android.tools.r8.utils.AbortException: Error: Field name 'lowercase words' cannot be represented in dex format.
Can that be fixed by the Kotlin compiler somehow or do we really have to avoid spaces altogether?jw
03/15/2019, 2:31 AMjw
03/15/2019, 2:31 AMUbi
03/15/2019, 9:18 AM./gradlew clean test assemble
-> ✅
./gradlew clean && ./gradlew test && ./gradlew assemble
-> ❌
I am switching annotation processing to kapt. Everything works fine in android studio but the annotation processing fails on jenkins. All I can see is Task :app:compileDebugJavaWithJavac FAILED
followed by error: cannot find symbol
in all dagger components.
Jenkins pipeline has three steps.
1. Clean -> ./gradlew clean
2. Test -> ./gradlew test
3. Assemble -> ./gradlew assemble
Which is equivalent to ./gradlew clean && ./gradlew test && ./gradlew assemble
If instead of three separate steps if I run ./gradlew clean test assemble
I don’t get any errors
So far I have enabled caching, but it seems to have no effect
kapt {
useBuildCache = true
}
ghosalmartin
03/15/2019, 11:19 AMfun <T: View> LayoutInflater.inflateAs(@LayoutRes resource: Int, root: ViewGroup?, attachToRoot: Boolean) = inflate(resource, root, attachToRoot) as T
Paul Woitaschek
03/15/2019, 11:23 AMghosalmartin
03/15/2019, 11:27 AMview as CustomView
with no unchecked castcbruegg
03/15/2019, 11:55 AMCustomView
is probably not a generic parametercbruegg
03/15/2019, 11:56 AMinline fun <reified T: View> LayoutInflater.inflateAs
cbruegg
03/15/2019, 11:56 AMghosalmartin
03/15/2019, 2:25 PMtapchicoma
03/18/2019, 2:40 PMchizoba
03/18/2019, 4:50 PMFredrik Larsen
03/19/2019, 7:43 PMliminal
03/22/2019, 2:13 AM