Import java com.google. * libraries

I'm having problems importing com.google.*libraries.

I am very new to eclipse and don't know how to import these libraries to fix code errors. Can someone point me in the right direction to import these libraries?

+3
source share
3 answers

Import Google libraries just like the others with a Java import instruction. Or in Eclipse add them to the project build path.

This assumes you have Google libraries. If you ask how to import than from a remote location (such as a Google server) that cannot be executed. You need to first upload them to the project directory and go from there.

+3

:

import com.google.*;

. ,

  • import com.google.* , , import com.google.appengine.*

  • com.google.* . ( "Configure class path", , , /.)

+2

: ( ) . . , (& hard to debug) , .

wild card, , .

0
source

Source: https://habr.com/ru/post/1777760/


All Articles