Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
72 views

I made a simple to-do list application with Java. It's a Maven project. It uses a SettingsStorage class to load and write stuff on a file settings.properties. The program normally loads the default ...
iasonas's user avatar
  • 11
0 votes
0 answers
47 views

public class Driver { public static void main(String[] args) throws Exception { Scanner scan = new Scanner(System.in); //what is this? System.out.println("Enter file ...
JavaBeginner's user avatar
1 vote
0 answers
751 views

I have a java function in my springboot application where I am trying to set 777 POSIX permissions to all the folders and sub folders in my NAS path. @Async @EventListener(...
PuneethC99's user avatar
0 votes
1 answer
49 views

I am trying to serialize an object in java and subtract the given object from that file. But what I need is that I do not select a file for serialization, but that during serialization this file is ...
user avatar
5 votes
1 answer
1k views

Sometime I can see a R.txt file in some .aar (and in such case there is also a non-empty ./res directory in the aar). What the exact purpose of this R.txt file? Also sometime I can see some AAR with a ...
zeus's user avatar
  • 13.3k
1 vote
1 answer
3k views

I want to reduce the file size while saving the image. Please, take this code for reference. And how to reduce the file size. public void saveImage(MultipartFile image_one, MultipartFile image_two, ...
Tejas 's user avatar
  • 11
0 votes
2 answers
168 views

i wrote this code but its going to fail on 1gb size file. public class TestFiles { public static void main(String[] args) { int minLength = Integer.MAX_VALUE; int maxLength = ...
Naresh_Nalla's user avatar
0 votes
0 answers
268 views

I am using Azure File Storage to upload files into Azure storage. While running an integration test, I download the file and compare it with the original it doesn't match. Sharing a sample code below ...
Guru's user avatar
  • 302
0 votes
1 answer
157 views

Shows the following error- C:\Users\shubh\AndroidStudioProjects\BitsandPizzas\app\build\intermediates\compile_and_runtime_not_namespaced_r_class_jar\debug\R.jar: The process cannot access the file ...
Shubham Rimjha's user avatar
1 vote
1 answer
426 views

Getting error like below out/target/common/obj/APPS/MtkSystemUI_intermediates/srcjars/android/arch/core/R.java:13911: error: <identifier> expected public static final int 1=0x7f0d0000; ...
Vivek Singh's user avatar
-1 votes
1 answer
87 views

"Gradle: Execution failed for task ':Results:processDebugResources' Running /home/mydata/Desktop/android-studio/sdk/build-tools/android-4.2.2/aapt failed. R.java file is empty, I don't know wheather ...
Palak Mistry's user avatar
0 votes
4 answers
310 views

Context: I just created a react-native project, and I'm working android native side. The fact is I cant import resource from my package like import my.package.R. Autocompletion only allow me to import ...
drow's user avatar
  • 11
1 vote
1 answer
763 views

Actually, I want to play all the sounds in raw folder in sequence. When I click the button only the first one is played. I will be grateful for your help . This is my code: public class MainActivity ...
Dler's user avatar
  • 21
2 votes
2 answers
1k views

I changed my android plugin version to latest i.e. 3.3.0 and after syncing the project, the reference to R class has been lost and turned into red saying 'Cannot resolve symbol 'R''.
shahooo's user avatar
  • 593
1 vote
0 answers
334 views

Our app has got more than 12K entries in the generated R file and it is working fine as an android application project. Once we convert that to an android library project and it is throwing "error: ...
Rakshit Jain's user avatar
1 vote
0 answers
76 views

Recently i have imported an android studio project from some repo. The project initially was being coded in linux/ubuntu enviroment with no problems. Now i want to work in windows, but build is giving ...
Salcedo Jesus's user avatar
0 votes
0 answers
46 views

I want to recorder voice,and mix the mp3 file but it could not find the file I had add the permission by uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE". that is my code ...
Jcy.D.Shanks's user avatar
-1 votes
2 answers
643 views

When I run my project I get the following error Error:(3433, 37) error: ';' expected Error:(3433, 42) error: identifier expected Error:Execution failed for task ':app:compileDebugJavaWithJavac'. ...
pamo's user avatar
  • 111
0 votes
0 answers
53 views

I'm getting following exception while running project. Execution failed for task ':app:*****'. > java.io.FileNotFoundException: D:\*****\R.java (The system cannot find the path specified) Tried ...
Ragini's user avatar
  • 785
0 votes
1 answer
205 views

I have the following method. public abstract String getIntent() And the following class public class Intents { public static final String SUCCEEDED = "SUCCEEDED"; public static final String ...
Wirling's user avatar
  • 5,525
1 vote
1 answer
193 views

I have a app and sdk, my sdk want to access my app's R.java file(because i need some views ID).when i try to import my app package name along with R, like this import com.packagename.R;its does not ...
Moorthy's user avatar
  • 55
0 votes
1 answer
476 views

I am working on Android studio for quite a while and few days back I encountered a weird problem. While working on an app implementing a database, I clicked on run app to check, then the build ...
rishabh kalra's user avatar
0 votes
0 answers
824 views

I need to build myself the r.class (via Aapt.exe). For this i must first "merge" all the res files of all the libraries. For exemple the appcompat-v7 contain theses res : res\values\values.xml res\...
zeus's user avatar
  • 13.3k
0 votes
0 answers
509 views

I'm trying to add an application to a custom android build, but it is unable to understand resources like Theme.AppCompat.Light.DarkActionBar and colorPrimary and colorAccent, which leads me to ...
Michael Kemp's user avatar
0 votes
1 answer
504 views

I'm trying to add androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2' To my gradle file but I get a error: Error:Execution failed for task ':app:...
Killesk's user avatar
  • 3,314

1
2 3 4 5
13