Git Product home page Git Product logo

tinkerpatch-sample's Issues

补丁合成dexopt文件不存在

-203 补丁合成dexopt文件不存在,这是什么报错,代码哪里写的有问题??
我是根据 tinkerpatch-sample 里面的tinkerpatch.gradle来写的。。。

运行assembleRelease出现问题

运行assembleRelease,运行停止在:app:recordFilesBeforeBundleCommandZmlearnRelease 12ms
这一栏,不知道是资源问题还是什么问题导致的,现将Gradle Console控制台上信息复制如下,望大神有空帮忙看一下:
----------------------tinker build warning ------------------------------------
tinker auto operation:
excluding annotation processor and source template from app packaging. Enable dx jumboMode to reduce package size.
enable dx jumboMode to reduce package size.
disable preDexLibraries to prevent ClassDefNotFoundException when your app is booting.

tinker will change your build configs:
we will add TINKER_ID=2.1.0 in your build output manifest file build/intermediates/manifests/full/*

if minifyEnabled is true
you will find the gen proguard rule file at build/intermediates/tinker_intermediates/tinker_proguard.pro
and we will help you to put it in the proguardFiles.

if multiDexEnabled is true
you will find the gen multiDexKeepProguard file at build/intermediates/tinker_intermediates/tinker_multidexkeep.pro
and we will help you to put it in the MultiDexKeepProguardFile.

if applyResourceMapping file is exist
we will build app apk with resource R.txt file
if resources.arsc has changed, you should use applyResource mode to build the new apk?
.........
tinker add tinker_id_2.1.0 to your AndroidManifest.xml /Users/chenheming/Documents/source/zm-course-android-mobile/android/app/build/intermediates/manifests/full/zmlearn/debug/AndroidManifest.xml
tinker add com.zmlearn.course.am.application.ZMLearnCourseAmApplication to dex loader pattern
tinker add com.tencent.tinker.loader.* to dex loader pattern
tinker gen AndroidManifest.xml in build/intermediates/tinker_intermediates/AndroidManifest.xml

:app:tinkerProcessZmlearnDebugResourceId
apply resource mapping file /Users/chenheming/Documents/source/zm-course-android-mobile/android/app/build/bakApk/app-1.0.0-0213-18-01-54/release/app-release-R.txt is illegal, just ignore
.....
然后BUILD SUCCESSFUL。
其它地方也没有相应的堆栈信息抛出。

Tinker.UrlConnectionFetcher: response code 404 msg: Not Found

你好,我这边用demo测试发现请求是404,请问怎么破?
请求的链接地址是:http://q.tinkerpatch.com/c/3783d2119a442544?d=0f83144b-cfce-4b9c-bf0c-569ba07a3f87&v=1484120270913
错误提示信息:
D/DeviceConnectionService: client connected with version: 6577000
D/DeviceConnectionService: client connected with version: 6577000
tinker.sample.android W/Tinker.UrlConnectionFetcher: loadData from url: http://q.tinkerpatch.com/c/3783d2119a442544?d=0f83144b-cfce-4b9c-bf0c-569ba07a3f87&v=1484120270913, method:GET, body:null
tinker.sample.android D/Tinker.UrlConnectionFetcher: response code 404 msg: Not Found

关于Tinker热修复框架不支持Android10的问题(迫切希望能回复)

配置:Tinker版本1.19.14.7,supportHotplugComponent=true

(1)基准包打包安装成功。
(2)AndroidManifest.xml新增android:exported=false的Activity后
(3)打补丁下发,编译补丁时已提示 Found increment activity: com.tencent.bugly.hotfix.NewActivity
(4)安卓6/7/8/9合成补丁后,打开新Activity,正常打开
(4)安卓10合成补丁后,打开新Activity,崩溃报错 have you declared this activity in your AndroidManifest.xml?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.