Shubi's Forum Posts

  • Nepeo

    We'll probably resolve this by having more options in the export to select permissions, and have the default values be what the plugins specify.

    That would be an excellent solution to this issue.

    As far as the game is concerned...

    The good news is that the permission issue has been verified and solved.

    Although there is a new problem of unusual crashes they are facing,

    The game works flawless on my device but for them it crashes on start screen (layout after loader layout).

    I have posted such issues before where the game works ok in some devices but crashes on others, but everytime no one knows how to find the reason for crash.

    Only this time i have a log of the crash for help...

    I don't know what to do of it, if someone knows please share...

  • Thank you dop2000 for helping me through this issue i was finally able to build the apk with cordova somehow althoughi ended up releasing the final apk with Android Studio as nepeo provided the easy way out...

    Thank you Nepeo for providing an easy & detailed work around for this, i have released the apk in BETA after some tests and will share it here soon.

    Thanks a lot everyone!

  • I tried this...

    https://stackoverflow.com/questions/43426393/error-could-not-find-or-load-main-class-org-gradle-launcher-gradlemain

    But it still gives the same error...

    Error: Could not find or load main class org.gradle.launcher.GradleMain

    Don't know what to do now! have to submit the app by tomorrow with permissions removed.

    Edit : Found the problem was in path of the project file as it contained special characters...

    Trying to build again!

  • dop2000

    Sadly It failed for some reasons...

    Any ideas on what to do now?

  • You can search in Windows by file contents. But I prefer using file managers, like Total Commander:

    That worked for .Xml i found 3 files, For some reason i did not found any results in .json

    Trying to build now!

  • > There are 86 .xml & 136 json files in that folder! do i have to remove from all of them one by one?

    Search for "WRITE_EXTERNAL_STORAGE" string, there will only be a few such files.

    But which ones? as i told you there are over 200 such files, in which ones should i search?

  • dop2000

    Shubi I was able to remove these permissions when building with Cordova CLI. It's not an easy process if you've never done this before.. Follow this tutorial:

    https://www.construct.net/en/tutorials/from-cordova-export-to-signed-apk-with-cordova-cli-on-windows-10-1420

    After the "cordova prepare" step search for all .xml and json files containing "WRITE_EXTERNAL_STORAGE" and remove entire blocks with them, for example:

    There are 86 .xml & 136 json files in that folder! do i have to remove from all of them one by one?

    Edit : Also after the "prepare cordova" screen looks likes this...

    is this ok?

  • Hi,

    Can someone please tell me how to remove them manually in android studio, i have installed and added my project in Android Studio,

    It looks like this...

    What to do?

  • Thanks for the quick reply!

    I will try explaining the cordova issue although it would be better if i can remove them as u said.

    But i don't know about how to do an android studio build so a little help there would be really nice.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Essentially i need to remove following permissions from being asked in my game:

    • READ_EXTERNAL_STORAGE

    • WRITE_EXTERNAL_STORAGE

    I use following Plugins:

    • Audio

    • Browser

    • GameRecorder

    • Share

    • TextInput

    • Touch

    • Dictionary

    • AJAX

    • BinaryData

    • LocalStorage

    Please Help me Solve this!

    Thank you in Advance!

  • No, I am unable to solve it. Its out of my control as many games made with C3 crashes without any possible reason on low & medium budget device.

  • newt

    dop2000 I think you misinterpreted "TiledBackground" with "Tiled Maps" there...

    also Fortunately there are actions to set image offset at runtime,

    so i made this so far, but it doesn't look right for some reason,

    like it flips image when i add crystal ball effect to tiled background (might be a bug)

    and there is too much shine on image making it invisible at some places

    am i missing something?

    https://drive.google.com/file/d/1CVzmS7CSwy5ZteepDD-QmansOG9-xaZ4/view?usp=sharing

  • newt

    I tried what you said.... with "crystal ball" effect...

    I am figuring out values to set for tiled offset along with touch X.

    Thanks a lot for the idea.

  • Thats a really great idea, I am planning to use all 198 countries,

    Detecting color seems easy as for image points i have to set them for all countries and for each frame too.

    But can you please explain how do you detect the color underneath cursor with drawing canvas...

  • newt

    Thanks for replying, Thats a good idea for 3d type menu but the game needs it to be a globe (Sphere).

    dop2000

    Thanks for the idea and example file, this might work just fine, i will add different frames for globe... any idea for detecting which country player selected though?