Kodular read and Write permission error solve

After the File component is inserted into a new empty project (no blocks) and the APK is created, these permissions are declared in the Manifest:
uses-permission android: name = “android.permission.READ_EXTERNAL_STORAGE”/
uses-permission android: name = “android.permission.WRITE_EXTERNAL_STORAGE”/
So far so good.
If you then install and open the app, you will be asked:
“Allow appName to access … and files on your device” even though the File component is not used at all. If I deny this request I get:
“Error 908: The permission WRITE_EXTERNAL_STORAGE has been denied. Please enable it …”
If I remove WRITE_EXTERNAL_STORAGE from the Manifest before, the request no longer appears. This means that this request is only generated by the WRITE_EXTERNAL_STORAGE permission and not by READ_EXTERNAL_STORAGE. This error only occurs with Kodular, not with AI2, AppyBuilder, …
This is annoying because I only want to give the user the option of accessing /storage/emulated/0/Documents (or /Music, /myDirectory, …) in very rare cases. For this, READ / WRITE_EXTERNAL_STORAGE must be declared in the Manifest.
However, as it currently is the case, the user is always asked to grant access to this storage if WRITE_EXTERNAL_STORAGE is declared in the Manifest. This will deter users and lead to 1-star ratings.
The same thing happens if I do not insert the File component, but add the two permissions manually into the Manifest before bulding the APK. So, whenever WRITE_EXTERNAL_STORAGE is declared in the Manifest, this error occurs.
Anke

একটি মন্তব্য পোস্ট করুন

0 মন্তব্যসমূহ

সিঙ্গাপুরে ওয়ার্ক পারমিটধারীদের জন্য নতুন নিয়ম: চাকরির মেয়াদ সীমা বাতিল, সর্বোচ্চ বয়সসীমা ৬৩ বছর
বাংলাদেশের মুক্তিযুদ্ধের সঠিক ইতিহাস
সিঙ্গাপুরে ট্রেইনিং রেকর্ড এবং সার্টিফিকেট চেক করার বিস্তারিত গাইড
some common interview questions and answers for a Safety Coordinator position in Singapore
Bangla date add in your website HTML tips.
Safe work procedure for ferrying workers by lorry in singapore
ধর্ষণবিরোধী বিক্ষোভে উত্তাল তিন বিশ্ববিদ্যালয়, শিক্ষার্থীদের আল্টিমেটাম
Understanding the New Demerit Point System for Construction and Manufacturing Sectors
সিঙ্গাপুরে নতুন আইন: ১ জুলাই ২০২৫ থেকে ফুটপাথে বাইসাইকেল ও PMD চালানো নিষিদ্ধ, লঙ্ঘনে জরিমানা ও জেল
বসে থাকলেই কোমরে ব্যথা হওয়ার প্রধান কারণগুলোর মধ্যে রয়েছে
Loading posts...