nimbledroid / gradle-profiler Goto Github PK
View Code? Open in Web Editor NEWA gradle plugin that interfaces with NimbleApp to automate app profiling.
A gradle plugin that interfaces with NimbleApp to automate app profiling.
for ndUpload
task always fail in PRC mainland. could this plugin provide http proxy option to bypass GFW?
I'm running ndUpload
with plugin 1.0.9, here is my gradle config:
nimbledroid {
apiKey <API key>
variant 'fullRelease'
mappingUpload false
}
My APK is not obfuscated and that variant fullRelease
does exist :).
I tried several things:
Caused by: java.lang.NoSuchFieldError: INSTANCE
at org.apache.http.entity.ContentType.toString(ContentType.java:153)
at org.apache.http.entity.mime.MultipartFormEntity.<init>(MultipartFormEntity.java:53)
at org.apache.http.entity.mime.MultipartEntityBuilder.buildEntity(MultipartEntityBuilder.java:236)
at org.apache.http.entity.mime.MultipartEntity.getEntity(MultipartEntity.java:119)
at org.apache.http.entity.mime.MultipartEntity.isChunked(MultipartEntity.java:138)
at org.apache.http.entity.HttpEntityWrapper.isChunked(HttpEntityWrapper.java:74)
at org.apache.http.protocol.RequestContent.process(RequestContent.java:76)
at org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:108)
at org.apache.http.protocol.HttpRequestExecutor.preProcess(HttpRequestExecutor.java:174)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:462)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:941)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:919)
at groovyx.net.http.HTTPBuilder.doRequest(HTTPBuilder.java:515)
at groovyx.net.http.HTTPBuilder.doRequest(HTTPBuilder.java:434)
at groovyx.net.http.HTTPBuilder.request(HTTPBuilder.java:383)
at groovyx.net.http.HTTPBuilder$request.call(Unknown Source)
at com.nimbledroid.ProfilerPlugin$_apply_closure1.doCall(ProfilerPlugin.groovy:111)
at org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:590)
at org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:571)
at org.gradle.api.internal.tasks.TaskMutator$1.execute(TaskMutator.java:77)
at org.gradle.api.internal.tasks.TaskMutator$1.execute(TaskMutator.java:73)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
... 68 more
Hopefully this helps you find the problem.
Is there any way to upload apks for multiple flavors during a single build?
I've tried the following, but only the first apk gets uploaded since the ndUpload
task can run only once during the build.
android.applicationVariants.all { variant ->
def nimbledroidUpload = task "nimbledroidUpload${variant.name.capitalize()}" << {
nimbledroid.variant = variant.name
ndUpload.execute()
}
variant.assemble.finalizedBy(nimbledroidUpload)
}
It might be enough to have a public NdUploadTask
class, so multiple upload tasks can be created that way:
task "nimbledroidUpload${variant.name.capitalize()}" (type: NdUploadTask) << { ... }
That task should have its own variant
property instead of the global one.
Gradle 5 support needs to be added
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.