Open gilhartman opened 6 years ago
It's a weird/funny thing too.
I get this error for about 50% of the apps that I compiled...
But, the funny thing is that when I take those apps and use something like an app called APK Editor (and few others on the PC/Android) and then decompile and recompile, without making any changes, the app in question, that reflected the parsing error, then installs fine without any errors.
I'm not sure what and why but, I just thought that this information would be helpful for figuring this out.
Any ideas @iBotPeaches?
I have meet the same error, I failed all the app...
These errors are probably due to our string decoding when we inject styles back into the human readable string.
So lets look at what Apktool decoded.
<string name="noContactsHelpText">"\"表示できる連絡先がありません。
連絡先を追加するには、"<font fgcolor="#ffffffff"><b>[メニュー]</b></font>"キーをタップして次の操作を行います。
"<li>スマートフォンと同期可能な連絡先を使ってアカウントを追加またはセットアップするには、<font fgcolor="#ffffffff"><b>[アカウント]</b></font>"をタップします
"</li>"
"<li>新しい連絡先を最初から作成するには、</li><font fgcolor="#ffffffff"><b>[連絡先を新規登録]</b></font>"をタップします
"</li>"
"<li>SIMまたはSDカードから連絡先をインポートするには、</li><font fgcolor="#ffffffff"><b>[インポート/エクスポート]</b></font>"をタップします
"</li>"” "</string>
So yeah thats a mess. I can't even read that right now to figure out where the mess is.
Here is another app with the same issue. Maybe it is easier to figure out with it: https://drive.google.com/open?id=1pfV2bjHQepke51LqV4WxJaQC7wgMmlZI
This whole content seems to belong to one string:
<string name="str_timing_kumbhmela_info">" The Nasik Kumbhmela celebration is held once in every 12 years in Nashik - it is scheduled for 2015. It draws millions of devotees and tourists from all over the country and the world. Trimbakeshwar is a holy town that houses one of the twelve Jyotirlingas in India. It also is the origin of the river Godavari and is situated 38 kms away from Nasik. The Sinhasta Kumbh Mela is held once in 12 years in Nashik and Trimbakeshwar. According to historical records, Nasik is one of four places where the elixir of immortality, the 'amrit', fell to earth from a pitcher as gods and demons were engaged in the tussle to gain the ownership of the jar full of 'amrit'. The Kumbh Mela rotates among the four holy sites every three years. The Kumbh Mela is marked by millions of devotees' plunge into the river Godavari that is believed would cleanse their souls leading to salvation. A ritual bath at a predetermined time and place is the major event of the festival.
"<b>* In 2015 - 2016, Jupiter enters the zodiac sign of Leo, hence Trimbakeshwar will witness the Kumbha Parva.</b>"
"<b>Timings of Trimbakeshwar Sinhastha</b>"
"<b><li>Starting:- 12/07/2015 at 18 that is on Ashadh vadya Tritiya, Monday, shaka 1937.</li></b>"
"<b><li>Ending:- 11/08/2016 at 8.40 i.e. on Sharvan shudha Ashtami(8thday),Thursday. shaka 1938.</li></b>"
"<b>Shahi Snan (Princely Bathing) time of Simhasta for sadhus and mahantas are as follows.</b>"
"<b><li>First Shahi Snan - Saturday shaka 1937, month shravana shudha poonam, <b>date 29/08/2015.</b></li></b>"
"<b><li>Second shahi snan - Sunday shake 1937 miti Shravan Krishna amavasya <b>date 13/09/2015.</b> This day will carry importance as sun, moon and Jupiter will be in same zodiac signs, this is why snans hava very special importance. Therefore the devotee should remember this day.</li></b>"
"<b><li>Third shahi snan - will be on Friday shaka 1937 miti bhadarapada shudha dwadashi (vamandwadashi) <b>date 25/09/2015.</b></li></b>"
So, I guess that there is HTML content within XML, so this needs probably to be escaped. I do not know why there are quotes within each line.
C:\SpyMAX-1v\apktool\temp\AndroidManifest.xml:1: error: No resource identifier found for attribute 'compileSdkVersion' in package 'android' W:
Information
apktool -version
) - 2.3.0Stacktrace/Logcat
Steps to Reproduce
apktool d
apktool b
Frameworks
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files (
.apks
that live in/system/framework
or/system/priv-app
)APK
If this APK can be freely shared, please upload/attach a link to it. https://apkpure.com/secure-mail/com.citrix.mail.droid/download/25049130-APK?from=details%2Fversion or https://download.apkpure.com/b/apk/Y29tLmNpdHJpeC5tYWlsLmRyb2lkXzI1MDQ5MTMwX2E5MWZmMTUx?_fn=U2VjdXJlIE1haWxfdjEwLjYuMjAtMThfYXBrcHVyZS5jb20uYXBr&k=fd7f4be01254c1b2f59d2c3f918ad0305a312f4d&as=9bd6f0c2238e685f86651a007e2583e75a2e8cc5&_p=Y29tLmNpdHJpeC5tYWlsLmRyb2lk&c=1%7CBUSINESS
Questions to ask before submission
apktool d
,apktool b
without changing anything? yes