[Android Q&A, Help & Troubleshooting] flagello79:
Dear all,

i'm Fabrizio from Italy and i'm happy to be a new members of the forum.

I hope that this is a correct section :

I've two big problems with my android phone:

FIRST PROBLEM -CALENDARCG.APK If the phone is setting in english language , i can open the calendar, i can insert new event, i can edit event.

If i shift the phone in another language setting ( italian,french,german or other) i can open the calendar, but when i try to insert a new event,

i receive follow alert : "The application Calendar (process.com.android.calendar) has stopped unexpectedly. Please try again." - and asked to force close.

I tried to reset the phone, hard rest the hone, clear data but nothing..always same problem.

Please can you help me to solve these problem?? Have i to modify the AndroidManifest or what?

SECOND PROBLEM - PHONE.APK SOLVED

I decompiled Phone.apk( i've android 4.0.4 - multi apk tool with apktool 1.5.0- and i have to change translation on value-it ) without problem, and i tried to rebuild them (without change any file) and i received following error:

--------------------------------------------------------------------------
|05/12/2012 -- 22:08:37,87|
--------------------------------------------------------------------------
java version "1.6.0_27"
Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
Java HotSpot(TM) 64-Bit Server VM (build 20.2-b06, mixed mode)
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\fakate\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
D:\android\APK\other\..\projects\Phone.apk\res\values\arrays.xml:158: error: Found tag reference-array where item is expected
D:\android\APK\other\..\projects\Phone.apk\res\values-nl\arrays.xml:131: error: Found tag reference-array where item is expected
D:\android\APK\other\..\projects\Phone.apk\res\values-pt-rPT\arrays.xml:131: error: Found tag reference-array where item is expected
D:\android\APK\other\..\projects\Phone.apk\res\values-es\strings.xml:248: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
D:\android\APK\other\..\projects\Phone.apk\res\values-es\strings.xml:249: error: Unexpected end tag string
D:\android\APK\other\..\projects\Phone.apk\res\values-it\strings.xml:248: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
D:\android\APK\other\..\projects\Phone.apk\res\values-it\strings.xml:249: error: Unexpected end tag string
D:\android\APK\other\..\projects\Phone.apk\res\values-ru\strings.xml:212: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
D:\android\APK\other\..\projects\Phone.apk\res\values-ru\strings.xml:213: error: Unexpected end tag string
D:\android\APK\other\..\projects\Phone.apk\res\values\public.xml:702: error: Public entry identifier 0x7f06002f entry index is larger than available symbols (index 47, total symbols 40).
D:\android\APK\other\..\projects\Phone.apk\res\values\public.xml:702: error: Public symbol array/cdma_subscription_choices declared here is not defined.
D:\android\APK\other\..\projects\Phone.apk\res\values\public.xml:695: error: Public entry identifier 0x7f060028 entry index is larger than available symbols (index 40, total symbols 40).
D:\android\APK\other\..\projects\Phone.apk\res\values\public.xml:695: error: Public symbol array/cdma_subscription_values declared here is not defined.
D:\android\APK\other\..\projects\Phone.apk\res\values\public.xml:689: error: Public symbol array/cdma_system_select_values declared here is not defined.
D:\android\APK\other\..\projects\Phone.apk\res\values\public.xml:698: error: Public entry identifier 0x7f06002b entry index is larger than available symbols (index 43, total symbols 40).
D:\android\APK\other\..\projects\Phone.apk\res\values\public.xml:698: error: Public symbol array/dtmf_tone_entries declared here is not defined.
D:\android\APK\other\..\projects\Phone.apk\res\values\public.xml:699: error: Public symbol array/dtmf_tone_values declared here is not defined.
D:\android\APK\other\..\projects\Phone.apk\res\values\public.xml:703: error: Public entry identifier 0x7f060030 entry index is larger than available symbols (index 48, total symbols 40).
D:\android\APK\other\..\projects\Phone.apk\res\values\public.xml:703: error: Public symbol array/subscription_values declared here is not defined.
D:\android\APK\other\..\projects\Phone.apk\res\values\public.xml:700: error: Public symbol array/td_network_mode_choices declared here is not defined.
D:\android\APK\other\..\projects\Phone.apk\res\values\public.xml:701: error: Public symbol array/td_network_mode_values declared here is not defined.
D:\android\APK\other\..\projects\Phone.apk\res\values\public.xml:696: error: Public entry identifier 0x7f060029 entry index is larger than available symbols (index 41, total symbols 40).
D:\android\APK\other\..\projects\Phone.apk\res\values\public.xml:696: error: Public symbol array/tty_mode_entries declared here is not defined.
D:\android\APK\other\..\projects\Phone.apk\res\values\public.xml:697: error: Public symbol array/tty_mode_values declared here is not defined.
D:\android\APK\other\..\projects\Phone.apk\res\values\public.xml:674: error: Public symbol array/vt_incall_video_setting_entries2 declared here is not defined.
D:\android\APK\other\..\projects\Phone.apk\res\values\public.xml:675: error: Public symbol array/vt_incall_video_setting_local_nightmode_entries declared here is not defined.
D:\android\APK\other\..\projects\Phone.apk\res\values\public.xml:676: error: Public symbol array/vt_incall_video_setting_local_nightmode_entries2 declared here is not defined.
D:\android\APK\other\..\projects\Phone.apk\res\values\public.xml:677: error: Public symbol array/vt_incall_video_setting_peer_quality_entries declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, C:\Users\fakate\AppData\Local\Temp\APKTOOL5211967303135877753.tmp, -I, C:\Users\fakate\apktool\framework\1.apk, -S, D:\android\APK\other\..\projects\Phone.apk\res, -M, D:\android\APK\other\..\projects\Phone.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:255)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
at brut.androlib.Androlib.buildResources(Androlib.java:269)
at brut.androlib.Androlib.build(Androlib.java:192)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:188)
at brut.apktool.Main.main(Main.java:70)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, C:\Users\fakate\AppData\Local\Temp\APKTOOL5211967303135877753.tmp, -I, C:\Users\fakate\apktool\framework\1.apk, -S, D:\android\APK\other\..\projects\Phone.apk\res, -M, D:\android\APK\other\..\projects\Phone.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:253)
... 6 more

How i can solve both problems?

Tnx in advance for your help, :)