Tim Holloway wrote:Log4j properties are expected to be located in the application classpath. For web applications, that would be /WEB-INF/classes/log4j.properties or /WEB-INF/classes/log4j.xml
Any other log4 configuration would have to be done in application logic.
Tushar Goel wrote:I don't have much idea but why don't you write some filters where all the requests lend first then you can check whether it is valid or not?
A.J. Côté wrote:Hello,
Search for pom.xml. It seems to be the file you are looking for.
https://maven.apache.org/guides/introduction/introduction-to-the-pom.html
Also, I remember one of my dev had trouble getting Maven to work in a Android project and ultimately gave up. I am not saying maven can't work in an Android project although, I am just sharing what I heard and I never had the time to try it myself.
In eclipse, you can just click on New->Project->Maven to create a new Maven project and this will take care of creating pom.xml for you. Also it will automagically download any needed jar files you mention in pom.xml and put them in your local maven repository so there is no need for you the download the jar files and put them into eclipse manually.
Guillermo Ishi wrote:Around 2012 with Eclipse and various Android plugins I never was able to get any more going than you are. I downloaded ADT which is Eclipse already bundled with the android stuff and never had a problem. I still use that, but I think most people now use something named Android Studio or close to that. Which is supposed to be the most modern development tools.
Since you are trying for your first app, I suggest looking up an Android course on edx or coursera. They will obviously help you get the tools installed. I took one and it was fun and really eased the learning curve with android. They don't cost anything. You can teach yourself but there are some things you will probably miss.
A.J. Côté wrote:
Jhon Parker wrote:Ok thanks but i would like to use a emulator firts before trying with my phone, is there any device that take lees ramm and cpu, or all the devices takes the exact same ram and cpu, I know that i can assign memory to my avd device like 512mb or 1024, but is there a particular device for low spec PCs, becasue in the list there's a lot of devices
the Intel Hardware Accelerated Execution Manager (Intel HAXM) if you are on Intel, it will use your native cpu instead of emulating one.
https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager