2.6.11a5 - CommandInvokationFailure
7 years 9 months ago #2128
by Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
Replied by Frank on topic 2.6.11a5 - CommandInvokationFailure
Hi,
I have been trying to reproduce this issue without success.
I created an empty project and installed I2 Localization v2.6.11 b1
Then enabled Unity IAP and Analytics, installed the Unity IAP demo from the AssetStore and the Facebook SDK (as I saw you have a reference to that)
Then I built the project, and it built the apk correctly and installed in my device. It also showed the IAP demo working correctly.
Can you please let me know if there is any other plugin you have installed or if I'm missing any steps?
Frank
I have been trying to reproduce this issue without success.
I created an empty project and installed I2 Localization v2.6.11 b1
Then enabled Unity IAP and Analytics, installed the Unity IAP demo from the AssetStore and the Facebook SDK (as I saw you have a reference to that)
Then I built the project, and it built the apk correctly and installed in my device. It also showed the IAP demo working correctly.
Can you please let me know if there is any other plugin you have installed or if I'm missing any steps?
Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
To get the betas as soon as they are ready,
check this out
Please Log in or Create an account to join the conversation.
7 years 9 months ago #2129
by Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
Replied by Frank on topic 2.6.11a5 - CommandInvokationFailure
Hi,
It seems that I mistakenly uploaded 2.6.11b1 without the changes enabled.
I corrected that and uploaded a new package (2.6.11b2). Can you try it and see if it fixes the issue for you?
It seems that I mistakenly uploaded 2.6.11b1 without the changes enabled.
I corrected that and uploaded a new package (2.6.11b2). Can you try it and see if it fixes the issue for you?
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
To get the betas as soon as they are ready,
check this out
Please Log in or Create an account to join the conversation.
7 years 9 months ago - 7 years 9 months ago #2131
by JOY
Replied by JOY on topic 2.6.11a5 - CommandInvokationFailure
Hi,
Still the same:
Update: It seems caused by a conflict in AndroidManifest file. I deleted the current one in Plugin/Android and recompile. Will update you when it finishes.
Update 2: I successfully compile the build. Thank you.
Still the same:
CommandInvokationFailure: Failed to re-package resources.
D:\Android\sdk\build-tools\25.0.2\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "D:/Android/sdk\platforms\android-25\android.jar" -F bin/resources.ap_ --extra-packages com.unity.purchasing:com.android.vending.billing:com.unity.purchasing.googleplay:com.InterIllusion.I2Localization -S "F:\Dropbox (Personal)\Projects\BulletStrike\Temp\StagingArea\android-libraries\common\res" -S "F:\Dropbox (Personal)\Projects\BulletStrike\Temp\StagingArea\android-libraries\GoogleAIDL\res" -S "F:\Dropbox (Personal)\Projects\BulletStrike\Temp\StagingArea\android-libraries\GooglePlay\res" -S "F:\Dropbox (Personal)\Projects\BulletStrike\Temp\StagingArea\android-libraries\I2Localization\res"
stderr[
AndroidManifest.xml:68: error: Error: No resource found that matches the given name (at 'value' with value '@string/fb_app_id').
AndroidManifest.xml:71: error: Error: No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version').
AndroidManifest.xml:72: error: Error: No resource found that matches the given name (at 'value' with value '@string/gg_key').
]
stdout[
Configurations:
(default)
vi
en
en-rUS
Files:
values\strings.xml
Src: () F:\Dropbox (Personal)\Projects\BulletStrike\Temp\StagingArea\android-libraries\I2Localization\res\values\strings.xml
Src: (vi) F:\Dropbox (Personal)\Projects\BulletStrike\Temp\StagingArea\android-libraries\I2Localization\res\values-vi\strings.xml
Src: (en) F:\Dropbox (Personal)\Projects\BulletStrike\Temp\StagingArea\android-libraries\I2Localization\res\values-en\strings.xml
Src: (en-rUS) F:\Dropbox (Personal)\Projects\BulletStrike\Temp\StagingArea\android-libraries\I2Localization\res\values-en-rUS\strings.xml
AndroidManifest.xml
Src: () AndroidManifest.xml
Resource Dirs:
Type values
values\strings.xml
Src: () F:\Dropbox (Personal)\Projects\BulletStrike\Temp\StagingArea\android-libraries\I2Localization\res\values\strings.xml
Src: (vi) F:\Dropbox (Personal)\Projects\BulletStrike\Temp\StagingArea\android-libraries\I2Localization\res\values-vi\strings.xml
Src: (en) F:\Dropbox (Personal)\Projects\BulletStrike\Temp\StagingArea\android-libraries\I2Localization\res\values-en\strings.xml
Src: (en-rUS) F:\Dropbox (Personal)\Projects\BulletStrike\Temp\StagingArea\android-libraries\I2Localization\res\values-en-rUS\strings.xml
Including resources from package: D:\Android\sdk\platforms\android-25\android.jar
applyFileOverlay for drawable
trying overlaySet Key=app_banner.png
trying overlaySet Key=app_icon.png
applyFileOverlay for layout
applyFileOverlay for anim
applyFileOverlay for animator
applyFileOverlay for interpolator
applyFileOverlay for transition
applyFileOverlay for xml
applyFileOverlay for raw
applyFileOverlay for color
applyFileOverlay for menu
applyFileOverlay for mipmap
Processing image: res\drawable-xhdpi\app_banner.png
Processing image: res\drawable-ldpi\app_icon.png
Processing image: res\drawable-mdpi\app_icon.png
Processing image: res\drawable-hdpi\app_icon.png
(processed image res\drawable-ldpi\app_icon.png: 99% size of source)
Processing image: res\drawable-xhdpi\app_icon.png
(processed image res\drawable-mdpi\app_icon.png: 99% size of source)
Processing image: res\drawable-xxhdpi\app_icon.png
(processed image res\drawable-hdpi\app_icon.png: 99% size of source)
Processing image: res\drawable-xxxhdpi\app_icon.png
(processed image res\drawable-xhdpi\app_icon.png: 99% size of source)
(processed image res\drawable-xhdpi\app_banner.png: 93% size of source)
(processed image res\drawable-xxhdpi\app_icon.png: 99% size of source)
(processed image res\drawable-xxxhdpi\app_icon.png: 98% size of source)
(new resource id app_banner from xhdpi-v4\drawable\app_banner.png #generated)
(new resource id app_icon from ldpi-v4\drawable\app_icon.png #generated)
(new resource id app_icon from mdpi-v4\drawable\app_icon.png #generated)
(new resource id app_icon from hdpi-v4\drawable\app_icon.png #generated)
(new resource id app_icon from xhdpi-v4\drawable\app_icon.png #generated)
(new resource id app_icon from xxhdpi-v4\drawable\app_icon.png #generated)
(new resource id app_icon from xxxhdpi-v4\drawable\app_icon.png #generated)
]
exit code: 1
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.PostProcessor.Tasks.TasksCommon.Exec (System.String command, System.String args, System.String workingdir, System.String errorMsg, Int32 retriesOnFailure)
UnityEditor.HostView:OnGUI()
Update: It seems caused by a conflict in AndroidManifest file. I deleted the current one in Plugin/Android and recompile. Will update you when it finishes.
Update 2: I successfully compile the build. Thank you.
Last edit: 7 years 9 months ago by JOY.
Please Log in or Create an account to join the conversation.
Time to create page: 0.207 seconds