diff --git a/projects/mtg/Android/src/org/libsdl/app/SDLActivity.java b/projects/mtg/Android/src/org/libsdl/app/SDLActivity.java index 6634ad255..847475a48 100644 --- a/projects/mtg/Android/src/org/libsdl/app/SDLActivity.java +++ b/projects/mtg/Android/src/org/libsdl/app/SDLActivity.java @@ -767,7 +767,7 @@ public class SDLActivity extends Activity implements OnKeyListener input.close(); } catch (Exception e) { - String errorMessage = "An error happened while downloading the resources at " + aurl +" . It could be that our server is temporarily down, that your device is not connected to a network, or that we cannot write to " + mSingleton.getSystemStorageLocation() + ". Please check your phone settings and try again. For more help please go to http://wagic.net"; + String errorMessage = "An error happened while downloading the resources. It could be that our server is temporarily down, that your device is not connected to a network, or that we cannot write to " + mSingleton.getSystemStorageLocation() + ". Please check your phone settings and try again. For more help please go to http://wagic.net"; mSingleton.downloadError(errorMessage); Log.e(TAG1, errorMessage); Log.e(TAG1, e.getMessage()); diff --git a/projects/mtg/build.xml b/projects/mtg/build.xml index 8100c8ca2..ffda4c559 100644 --- a/projects/mtg/build.xml +++ b/projects/mtg/build.xml @@ -91,7 +91,8 @@ Author: Michael Nguyen #define WAGIC_VERSION_STRING VERSION_STRINGIFY(WAGIC_VERSION) #define WAGIC_CORE_VERSION_STRING "core_" VERSION_STRINGIFY(WAGIC_RESOURCE_VERSION) #define WAGIC_RESOURCE_NAME "Wagic-core.zip" -#define WAGIC_RESOURCE_URL "https://github.com/WagicProject/wagic/releases/download/${env.RELEASE_NAME}/" WAGIC_RESOURCE_NAME +#define WAGIC_RELEASE_NAME ${env.RELEASE_NAME} +#define WAGIC_RESOURCE_URL "https://github.com/WagicProject/wagic/releases/download/" WAGIC_RELEASE_NAME "/" "WAGIC_RESOURCE_NAME #endif