shrink

Can we shrink all classes but only obfuscate some with proguard?

泪湿孤枕 提交于 2021-01-03 14:46:57
问题 Typically, excluding a class with -keep prevents the class from being obfuscated However it also prevents it from being shrunk. Is it possible to define a proguard-project.txt that will shrink all classes except those that are excluded with -keep, but also obfuscate only a specific subset of the classes? The aim is to use proguard to keep below the android 65k method limit, while also obfuscating first party code ONLY within the APK. Thanks 回答1: Yes, you can add the modifier allowshrinking to

Can we shrink all classes but only obfuscate some with proguard?

ε祈祈猫儿з 提交于 2021-01-03 14:40:48
问题 Typically, excluding a class with -keep prevents the class from being obfuscated However it also prevents it from being shrunk. Is it possible to define a proguard-project.txt that will shrink all classes except those that are excluded with -keep, but also obfuscate only a specific subset of the classes? The aim is to use proguard to keep below the android 65k method limit, while also obfuscating first party code ONLY within the APK. Thanks 回答1: Yes, you can add the modifier allowshrinking to

Can we shrink all classes but only obfuscate some with proguard?

百般思念 提交于 2021-01-03 14:39:36
问题 Typically, excluding a class with -keep prevents the class from being obfuscated However it also prevents it from being shrunk. Is it possible to define a proguard-project.txt that will shrink all classes except those that are excluded with -keep, but also obfuscate only a specific subset of the classes? The aim is to use proguard to keep below the android 65k method limit, while also obfuscating first party code ONLY within the APK. Thanks 回答1: Yes, you can add the modifier allowshrinking to

SQL / Windows OS releasing unused space

一曲冷凌霜 提交于 2020-01-30 12:27:05
问题 I have recently done some archiving of my data, and performed the following: I had a database table that had over 33 million records, many of which were duplicates. I backed up the table and inserted the unique data into a new table, then renamed/swapped the table names, this achieved what I needed. Now however I am left with two tables... Table1 (good/live table) - 10 million records Table1_Backup (backup table) - 33 million records After doing this my SQL mdf/data file has rose to 319.7 GB,

Android Studio does not shrink my app

人盡茶涼 提交于 2020-01-04 02:54:05
问题 I am trying to reduce my apk size (because google play services increased size of my app from 65kb to 5MB) using shrink as told in this web: http://tools.android.com/tech-docs/new-build-system/resource-shrinking i added minifyEnabled true and shrinkResources true The problem is that as told in that web this should be displayed in gradle log: :android:shrinkDebugResources Removed unused resources: Binary resource data reduced from 2570KB to 1711KB: Removed 33% But nothing is displayed in

CSS: Max-Width won't shrink? [duplicate]

落爺英雄遲暮 提交于 2020-01-02 00:50:31
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Make CSS Div Width Equal To Contents I am trying to make a chat like application but now I ran acros a little bug of some sort. I have a div with a max-width set to 350px. But when I put the following text in it: dddddddddddd ddddddddddd dddddddddd dddddddddd It will add new lines at every space but the width of the div will stay at 100px. I made a little example in jsFiddle here: http://jsfiddle.net/5t2hm/12/

CSS: Max-Width won't shrink? [duplicate]

给你一囗甜甜゛ 提交于 2020-01-02 00:50:15
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Make CSS Div Width Equal To Contents I am trying to make a chat like application but now I ran acros a little bug of some sort. I have a div with a max-width set to 350px. But when I put the following text in it: dddddddddddd ddddddddddd dddddddddd dddddddddd It will add new lines at every space but the width of the div will stay at 100px. I made a little example in jsFiddle here: http://jsfiddle.net/5t2hm/12/

Letting a Batch file Minimize a DOS window?

纵然是瞬间 提交于 2019-12-31 01:26:10
问题 So i'm kinda into MS-DOS and such again, but i came to ask myself, How can i minimize a DOS window? Any kind would be ok, minimalize, shrink to a tiny blue block. I just can't seem to find a way to let it work on my Windows XP computer, is realy evrything excluded in XP?! 回答1: One thing you could do is create a windows program that will find the title of the cmd window you are running in and in that program minimize it. In Win32 you would use the FindWindow command to get a window handle,

Letting a Batch file Minimize a DOS window?

ε祈祈猫儿з 提交于 2019-12-31 01:25:07
问题 So i'm kinda into MS-DOS and such again, but i came to ask myself, How can i minimize a DOS window? Any kind would be ok, minimalize, shrink to a tiny blue block. I just can't seem to find a way to let it work on my Windows XP computer, is realy evrything excluded in XP?! 回答1: One thing you could do is create a windows program that will find the title of the cmd window you are running in and in that program minimize it. In Win32 you would use the FindWindow command to get a window handle,

Android Game development - Imageview automatically shrinks at screen edge

╄→尐↘猪︶ㄣ 提交于 2019-12-25 11:30:44
问题 I have a bunch of dynamically created ImageViews representing different objects in a game, which is working fine. However if any Image reaches the edge of the screen, it shrinks. Looks like android is attempting to create a smooth transition, but this is not wanted. I found another thread with the same issue here: Animation Drawable gets automatically shrinks at the corners ?, however his solution does not work for me, it only enhances the issue as it starts shrinking once the margin hits the